Difference between revisions of "Template:Side box"

From M3P
Jump to navigation Jump to search
(Created page with '<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"> <tr> {{#switch:{…')
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
{{#invoke:Side box|main}}<noinclude>
<tr>
{{documentation}}
{{#switch:{{{image|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|<!--BLANK-->|none={{td}}
|#default=<td class="mbox-image">{{{image}}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright">{{{imageright}}}</td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><noinclude>
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 12:37, 28 February 2018

{{#invoke:Side box|main}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}