User:Djd/sandbox/Userbox/Userbox sample compact code

<noinclude>
{| style="background-color:#F9F9F9;<!--
-->border:1px solid #AAA;<!--
-->padding:5px;"

|-
|[[Image:Exquisite-khelpcenter.png|32px]]
|
|'''Template usage notes'''
* Please remember to [[Help:Template|substitute]] the template using <tt><nowiki>{{subst:
{{PAGENAME}}}}</tt> instead of <tt>{{{{PAGENAME}}}}</tt>.
* This template displays a sample [[Template:Userbox|userbox]].  The code to generate the box
 is displayed on the left and a sample box is displayed on the right.  Please remember to
 '''subst''' the resulting userbox code.
* If you feel that a userbox you have designed would be of suitable quality, please feel free
 to share it with others at [[WP:UBX]].  Please note, though, that userboxes of little use to
 others, or which are potentially offensive, may be removed from the library.
* For a version of this template that shows more friendly wikicode, please see {{tl|Userbox
 sample}}
|}

{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:User namespace templates]]
</noinclude>

{| border="1" cellpadding="2" cellspacing="0"

|-
| style="width:350px;<!--
-->text-align: left;<!--
-->font-size: 8pt;<!--
-->color:black;<!--
-->font-family: Arial; "<!--

-->| {{Userbox 
| border-c = {{{border-c|#999}}}
 | border-s = {{{border-width|{{{border-s|1}}}}}}
 | id-c = {{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}
 | id-s = {{{logo-size|{{{5|{{{id-s|14}}}}}}}}}
 | id-fc = {{{logo-color|{{{id-fc|black}}}}}}
 | info-c = {{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}
 | info-s = {{{info-size|{{{info-s|8}}}}}}
 | info-fc = {{{info-color|{{{info-fc|black}}}}}}

 | id = {{#switch:{{{logo|{{{3|{{{id|id}}}}}}}}}
|{{{logo}}} = <{{<includeonly>subst:</includeonly>#if:1|nowiki|}}>{{{logo}}}
<{{<includeonly>subst:</includeonly>#if:1|/nowiki}}>
|{{{3}}} = <{{<includeonly>subst:</includeonly>#if:1|nowiki|}}>{{{3}}}
<{{<includeonly>subst:</includeonly>#if:1|/nowiki}}>
|{{{id}}} = <{{<includeonly>subst:</includeonly>#if:1|nowiki|}}>{{{id}}}
<{{<includeonly>subst:</includeonly>#if:1|/nowiki}}>
|id}}

 | info = {{#switch:{{{info|{{{4|{{{info|''info''}}}}}}}}}
|{{{info}}} = <{{<includeonly>subst:</includeonly>#if:1|nowiki|}}>{{{info}}}
<{{<includeonly>subst:</includeonly>#if:1|/nowiki}}>
|{{{4}}} = <{{<includeonly>subst:</includeonly>#if:1|nowiki|}}>{{{4}}}
<{{<includeonly>subst:</includeonly>#if:1|/nowiki}}>
|''info''}} |

 float = {{{float|left}}}
 }}

| <div style="float:{{{float|left}}};
 border:{{{border-width|{{{border-s|1}}}}}}px solid
 {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}};
 margin:1px;">

{| 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}}}}}};"<!--
-->| '''{{{logo|{{{3|{{{id|id}}} }}} }}}'''

| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt;<!--
-->padding:4pt;<!--
-->line-height:1.25em;<!--
-->color:{{{info-color|{{{info-fc|black}}}}}};"<!--
-->| {{{info|{{{4|{{{info|''This user is a '''citizen''' of the '''European Union'''''}}} }}} }}}

|}</div>

|}
</nowiki>