Template:Side box: Difference between revisions
From All Skies Encyclopaedia
imported>Thumperward (add plainlist class, which makes adds semantic value when multiple elements are used. any problems with this, please let me know) |
imported>Jo-Jo Eumerus m (Changed protection level for "Template:Side box": Highly visible template: Allowing template editors ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:Side box|main}}<noinclude> |
|||
<table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"> |
|||
{{ |
{{documentation}} |
||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
|||
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}"> |
|||
</noinclude> |
|||
{{{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> |