Jump to content

Template:Side box: Difference between revisions

allow image=none
m (Protected Template:Side box: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(allow image=none)
Line 1: Line 1:
<table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
<table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
<tr>
<tr>
{{#if:{{{image|}}}
{{#switch:{{{image|}}}
|<!--BLANK-->|none={{td}}
|<td class="mbox-image">{{{image}}}</td>
|<td class="mbox-image">{{{image}}}</td>
|<!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.