Template:userbox

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(fix sort tag, remove user cat)
(combining nc template with this one)
Line 2: Line 2:
|<div style="float: left; border:solid {{{border}}} 1px; margin: 1px;">
|<div style="float: left; border:solid {{{border}}} 1px; margin: 1px;">
{| cellspacing="0" style="width: 238px; background: {{{mainbkgd}}};"
{| cellspacing="0" style="width: 238px; background: {{{mainbkgd}}};"
-
| style="width: 45px; height: 45px; background: {{{codebkgd}}}; text-align: center; font-size: 14pt; color: {{{codecolor}}}" | {{{code}}}
+
{{#if:{{{code|}}}|{{!}} style="width: 45px; height: 45px; background: {{{codebkgd}}}; text-align: center; font-size: 14pt; color: {{{codecolor}}}" {{!}} {{{code}}}|}}
| style="font-size:8pt;padding:4pt;line-height:1.25em;" class="plainlinks" | {{{msg}}}
| style="font-size:8pt;padding:4pt;line-height:1.25em;" class="plainlinks" | {{{msg}}}
|}
|}
</div><noinclude>[[Category:Userbox Templates|{{PAGENAME}}]]</noinclude>
</div><noinclude>[[Category:Userbox Templates|{{PAGENAME}}]]</noinclude>

Revision as of 05:46, 5 October 2006

|-

|