Difference between revisions of "Template:Side box"

From WOI Encyclopedia Italia
Jump to navigation Jump to search
m
 
m
 
Line 1: Line 1:
<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|}}}">
+
<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
 
<tr>
 
<tr>
 
{{#switch:{{{image|}}}
 
{{#switch:{{{image|}}}
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>
+
</table><noinclude>
 +
 
 +
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 09:35, 28 April 2012