Difference between revisions of "Template:Userbox/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (This is a documentation edit, to help someone who is looking for userboxes. It will cause no updates to the template itself.)
m
 
Line 5: Line 5:
  
 
<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

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.