Difference between revisions of "Template:Side box"

From Self-sufficiency
Jump to: navigation, search
(create)
m (1 revision imported)
 
(13 intermediate revisions by 5 users not shown)
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|}}}">
+
{{#invoke:Side box|main}}<noinclude>
<tr>
+
{{documentation}}
{{#if:{{{image|}}}
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|<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>
+
{{#if:{{{imageright|}}}
+
| <td class="mbox-imageright">{{{imageright}}}</td>
+
}}
+
</tr>
+
</table><noinclude>
+
 
+
{{pp-template|small=yes}}
+
{{Documentation}}
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
</noinclude>
 
</noinclude>

Latest revision as of 20:56, 17 February 2018