Template:Userbox: Difference between revisions

Want an adless experience? Log in or Create an account.
gonna move the margin to css so we can use the + selector
m (fixed missing "=" sign)
(gonna move the margin to css so we can use the + selector)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px; width:238px;" class="userbox {{{bodyclass|}}}">
<div style="border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; width:238px; {{#switch:{{{float|none}}}|left=float:left;|right=float:right;|center=margin:auto;}}" class="userbox {{{bodyclass|}}}">
{| style="border-collapse:collapse; width:238px; margin-bottom:0; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}"
{| style="border-collapse:collapse; width:238px; margin-bottom:0; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}}"
{{#if:{{{logo|{{{3|{{{id<includeonly>|</includeonly>}}}}}}}}}|
{{#if:{{{logo|{{{3|{{{id<includeonly>|</includeonly>}}}}}}}}}|
Line 8: Line 8:
{{clear}}
{{clear}}
==Purpose==
==Purpose==
This template is used to create infoboxes.
This template is used to create userboxes.


==Usage==
==Usage==