Difference between revisions of "Template:Userbox/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (Do <font color="red">NOT</font> edit or use this Template directly.)
 
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Userbox Template==
 
==Userbox Template==
  
===Do <font color="red">NOT</font> edit or use this Template directly.===
+
===Do <font color="red">NOT</font> edit this Template directly.===
  
  
 
<pre>
 
<pre>
<nowiki>
 
 
{{Userbox
 
{{Userbox
 
   |border-c = Border Color (Hex)
 
   |border-c = Border Color (Hex)
Line 17: Line 16:
 
   |id      = ID field text (Small Section.  40px image OR Two 14pt Characters ONLY)
 
   |id      = ID field text (Small Section.  40px image OR Two 14pt Characters ONLY)
 
   |info    = Info field Text (Large Section, Text ONLY)
 
   |info    = Info field Text (Large Section, Text ONLY)
}}
+
}}  
</nowiki>  
+
</pre>
 
 
Here's an Example:
 
  
 +
Here's an example:
 +
<pre>
 
{{Userbox
 
{{Userbox
 
   |border-c = #999
 
   |border-c = #999
Line 35: Line 34:
 
}}
 
}}
 
</pre>
 
</pre>
 
+
For a list of templates using this, see [[:Category:Userbox templates]].<br>
 +
For a simpler, formatted list, see [[Team Fortress Wiki:User info boxes]].
 
<noinclude>
 
<noinclude>
 
[[Category:Template documentation|{{PAGENAME}}]]
 
[[Category:Template documentation|{{PAGENAME}}]]
  
[[Category:Every page]]</noinclude>
+
</noinclude>

Latest revision as of 19:41, 6 March 2024

Userbox Template

Do NOT edit this Template directly.

{{Userbox
  |border-c = Border Color (Hex)
  |border-s = Border Size (Pixels, Use 1 to match others)
  |id-c     = ID field bgcolor (Hex)
  |id-s     = ID field Font size (Pixels, Use 14 to match others)
  |id-fc    = ID field Color (Hex)
  |info-c   = Info text bgcolor (Hex)
  |info-s   = Info Font size (Pixels, use 7 to match others)
  |info-fc  = Info text color (foreground)
  |id       = ID field text (Small Section.  40px image OR Two 14pt Characters ONLY)
  |info     = Info field Text (Large Section, Text ONLY)
}} 

Here's an example:

{{Userbox
  |border-c = #999
  |border-s = 1
  |id-c     = #DDD
  |id-s     = 14
  |id-fc    = #000000
  |info-c   = #EEE
  |info-s   = 7
  |info-fc  = #000000
  |id       = id
  |info     = This is a blank user box.
}}

For a list of templates using this, see Category:Userbox templates.
For a simpler, formatted list, see Team Fortress Wiki:User info boxes.