Difference between revisions of "Template:Side box"

90 bytes removed ,  03:48, 27 January 2019
moving from {{t|td}}
(moving from {{t|td}})
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks mbox-small wikitable collapsible" 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 mbox-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|}}}
{{#switch:{{{file|}}}
|<!--BLANK-->|none={{td}}
|<!--BLANK-->|none=<includeonly><td style="width:1px;"></td></includeonly>
|#default=<td class="mbox-image">{{{image}}}</td>
|#default=<td class="mbox-image">{{{file}}}</td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
Line 13: Line 13:
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
}}
</table><noinclude>
</table><noinclude>{{doc}}
 
[[Category:Table Templates|{{PAGENAME}}]]</noinclude>
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
[http://en.wikipedia.org/wiki/Template:Side_box]</noinclude>
8,161

edits