Template:Side box: Difference between revisions

From Linguifex
Jump to navigation Jump to search
m (1 revision: Subpage listing)
 
(Replaced content with "{{#invoke:Side box|main}}<noinclude>{{documentation}}</noinclude>")
Tag: Replaced
 
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>{{documentation}}</noinclude>
{{#if:{{{above|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}">
{{{above}}}</td></tr>
}}
<tr>
{{#switch:{{{image|}}}
|<!--BLANK-->|none={{td}}
|#default=<td class="mbox-image">{{{image}}}</td>
}}
<td class="mbox-text plainlist" 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 --></noinclude>

Latest revision as of 18:45, 18 June 2022