Difference between revisions of "Template:Userbox"

From Team Fortress Wiki
Jump to: navigation, search
m (fuq u wiki)
m (rm br tag)
 
Line 3: Line 3:
 
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|1pt}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; {{{logo-other-param|{{{id-op}}}}}}" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
 
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}}; padding:{{{logo-padding|{{{id-p|1pt}}}}}}; line-height:{{{logo-line-height|{{{id-lh|1.25em}}}}}}; {{{logo-other-param|{{{id-op}}}}}}" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}'''
 
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|4pt}}}}}}; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; {{{info-other-param|{{{info-op}}}}}}" | {{{info|{{{4|{{{info|This is a blank user box.}}}}}}}}}
 
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:{{{info-padding|{{{info-p|4pt}}}}}}; line-height:{{{info-line-height|{{{info-lh|1.25em}}}}}}; color:{{{info-color|{{{info-fc|black}}}}}}; {{{info-other-param|{{{info-op}}}}}}" | {{{info|{{{4|{{{info|This is a blank user box.}}}}}}}}}
|}</div><br><includeonly><!--
+
|}</div><includeonly><!--
 
-->{{#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}}]]}}

Latest revision as of 00:14, 15 June 2013

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.