Jump to content

User:Djd/sandbox/Userbox/Userbox-2 code

From Wikipedia, the free encyclopedia
<div style="float:{{{float|left}}};
 border:{{{9|{{{border-s|1}}} }}}px solid {{{1|{{{border-c|{{{id1-c|#999999}}} }}} }}};
 margin:1px;
 width:238px;"
 class="wikipediauserbox {{{bodyclass|}}}">

{| style="border-collapse:collapse;<!--
-->width:238px;<!--
-->margin-bottom:0;<!--
-->background: {{{2|{{{info-c|#eeeeee}}} }}};"

! style="border:0;<!--
-->width:{{{id1-w|45}}}px;<!--
-->height:{{{id-h|45}}}px;<!--
-->background: {{{1|{{{id1-c|#dddddd}}} }}};<!--
-->text-align: center;<!--
-->font-size: {{{id1-s|14}}}pt;<!--
-->line-height:{{{id1-lh|1.25em}}};<!--
-->color: {{{id1-fc|black}}};<!--
-->vertical-align:middle;<!--
-->padding:{{{id1-p|0 1px 0 0}}};<!--
-->{{{id1-op|}}}"<!--

-->| {{{3|{{{id1|id1}}} }}}

| style="border:0;<!--
-->text-align:{{{info-a|left}}};<!--
-->font-size: {{{info-s|8}}}pt;<!--
-->color: {{{8|{{{info-fc|black}}} }}};<!--
-->padding: {{{info-p|0 4px 0 4px}}};<!--
-->line-height: {{{info-lh|1.25em}}};<!--
-->vertical-align:middle;<!--
-->{{{info-op|}}}"<!--

-->| {{{4|{{{info|''info''}}} }}}

! style="border:0;<!--
-->width:{{{id2-w|45}}}px;<!--
-->height:{{{id-h|45}}}px;<!--
-->background: {{{7|{{{id2-c|{{{1|{{{id1-c|#dddddd}}} }}} }}} }}};<!--
-->text-align: center;<!--
-->font-size: {{{id2-s|14}}}pt;<!--
-->line-height:{{{id2-lh|1.25em}}};<!--
-->color: {{{id2-fc|black}}};<!--
-->vertical-align:middle;<!--
-->padding:{{{id2-p|0 0 0 1px}}};<!--
-->{{{id2-op|}}}"<!--

-->| {{{5|{{{id2|id2}}} }}}

|}</div>

{{#if:{{{usercategory|}}}{{{usercategory2|}}}{{{usercategory3|}}}
  |{{category handler
     |nocat = {{{nocat|}}}
     |user = 
  {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}]]}}
  {{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}]]}}
  {{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}]]}}
     |template = 
  {{#if:{{{usercategory|}}}|[[Category:{{{usercategory}}}| {{PAGENAME}}]]}}
  {{#if:{{{usercategory2|}}}|[[Category:{{{usercategory2}}}| {{PAGENAME}}]]}}
  {{#if:{{{usercategory3|}}}|[[Category:{{{usercategory3}}}| {{PAGENAME}}]]}}
     }}
  }}
<noinclude>{{documentation}}</noinclude>