Difference between revisions of "Template:UserBox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div style="clear:left;float:right; border:2px solid {{{border|#aaa}}}; margin:1px; width:240px; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;" class="wikipediauserbox ">
+
 
 +
----
 +
<includeonly><div style="border:2px solid {{{border|#aaa}}}; margin:1px; width:240px; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;" class="wikipediauserbox ">
 
{| cellspacing="0" style=" width:100%; margin-bottom:0; background:{{{right-bg|#eee}}}"
 
{| cellspacing="0" style=" width:100%; margin-bottom:0; background:{{{right-bg|#eee}}}"
 
! style="width:45px; height:45px; background:{{{left-bg|#222}}}; text-align:center; font-size:14pt; color:{{{left-fg|white}}}; padding:0 1px 0 0; line-height:1.25em; vertical-align: middle; white-space:nowrap;"  | {{{1|Hd}}}
 
! style="width:45px; height:45px; background:{{{left-bg|#222}}}; text-align:center; font-size:14pt; color:{{{left-fg|white}}}; padding:0 1px 0 0; line-height:1.25em; vertical-align: middle; white-space:nowrap;"  | {{{1|Hd}}}

Revision as of 14:22, 2 November 2012


Usage:

 {{UserBox|leftside-content|rightside-content
          |border=color
          |left-bg=color
          |left-fg=color
          |right-bg=color
          |right-fg=color
          |categories=category links}}

All arguments are optional; you can get away with just using the first two (unnamed) parameters (a recommended minimum) for a lovely monochrome UserBox, and no categorization.

</nowiki>