Template:Side box: Difference between revisions
From All Skies Encyclopaedia
| imported>Happy-melon m (Protected Template:Side box: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) | imported>Happy-melon   (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> | ||
| {{# | {{#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> | ||
 Template documentation
 Template documentation






