Jump to content

User:Djd/sandbox/Userbox/Flat userbox code

From Wikipedia, the free encyclopedia
<div style="float:left;
 border:solid {{{border|#ccc}}} 1px;
 margin:1px;
 width:238px;">

{| cellspacing="0" style="width:238px;<!--
-->background:#fff bottom no-repeat;<!--
-->color:#000000;"

| style="padding-left: 2px;<!--
-->width: 18px;<!--
-->height: 20px;<!--
-->background-color:{{{imagebackground|#fff}}};<!--
-->color:{{{imagecolor|#000}}};<!--
-->text-align:center;"<!--
-->|{{{2|}}}

|{{#if: {{{1|}}}|<!--
-->style="font-size:8pt;<!--
-->padding: 3pt 3pt 3pt 1pt;<!--
-->margin-left: 3pt;<!--
-->background-color: {{{textbackground|#fff}}};<!--
-->line-height:normal;<!--
-->color:{{{textcolor|#000}}};"<!--
-->|}}<!--
-->|{{{1|}}}

|}</div>

<noinclude>
{{doc}}
<!-- place category and language links on the /doc sub-page, not here -->
</noinclude>