Difference between revisions of "Template:Userbox"

From Team Fortress Wiki
Jump to: navigation, search
Line 6: Line 6:
 
-->{{#ifeq:{{NAMESPACE}} | User | {{#if: {{{category|}}}|[[Category:{{{category}}}]]}}}}<!--
 
-->{{#ifeq:{{NAMESPACE}} | User | {{#if: {{{category|}}}|[[Category:{{{category}}}]]}}}}<!--
 
-->{{#ifeq:{{NAMESPACE}} | Template | [[Category:Userbox templates|{{PAGENAME}}]]}}
 
-->{{#ifeq:{{NAMESPACE}} | Template | [[Category:Userbox templates|{{PAGENAME}}]]}}
</includeonly>
+
</includeonly><noinclude>{{Template doc}}[[Category:Userbox templates|{{PAGENAME}}]]</noinclude>
<noinclude>
 
{{Template doc}}
 
[[Category:Userbox templates|{{PAGENAME}}]]
 
<!-- ATTENTION 'EDIT THIS PAGE' VIEWERS:  DO NOT MODIFY ABOVE THIS LINE! -->
 
</noinclude>
 

Revision as of 09:21, 6 July 2010

id This is a blank user box.


Template documentation [view] [edit] [history] [purge]

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.