Difference between revisions of "Template:Userbox"
(add style param to outer div) |
m (sowwee) |
||
Line 1: | Line 1: | ||
− | <div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; {{{style|}}}"> | + | <div class="userbox" style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; {{{style|}}}"> |
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" | {| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};" | ||
| 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}}}}}}}}}''' |
Revision as of 02:21, 25 March 2011
id | This is a blank user box. |
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.