Template:Side box: Difference between revisions

From IndicWiki Sandbox
https://sandbox.indicwiki.org/>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))
 
https://sandbox.indicwiki.org/index.php/>Putnik
dark mode fix
Line 1: Line 1:
{{#invoke:Side box|main}}<noinclude>
<table align="right" class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid var(--border-color-base, a2a9b1); background-color:var(--background-color-neutral-subtle, #f8f9fa); color:inherit; {{{style|}}}">
{{documentation}}
<tr>
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
{{#switch:{{{image|}}}
|<!--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>

Revision as of 12:35, 10 October 2024

Template:Td