2,211 bytes added
, 04:01, 23 August 2021
<table id="
{{#switch:{{{type|}}}
| setindex = setindexbox
| disambig <!-- disambig = default -->
| #default = disambig
}}" class="metadata plainlinks dmbox
{{#switch:{{{type|}}}
| setindex = dmbox-setindex
| disambig <!-- disambig = default -->
| #default = dmbox-disambig
}}" style="clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; {{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- 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-image" style="padding: 2px 0 2px 0.4em;">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| setindex = [[Image:List gray.svg|30px]]
| disambig <!-- disambig = default -->
| #default = [[Image:Disambig gray.svg|30px]]
}}
}}</td>
}}
<td class="mbox-text" style="padding: 0.25em 0.4em; font-style: italic; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td>
}}
</tr>
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| disambig
| setindex = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!-- Categorisation:
-->{{{category|{{
#switch:{{{type|}}}
| setindex =
{{main other
| [[Category:All set index articles]]
| <!-- Do not categorise when not in main (article) space. -->
}}
| disambig <!-- disambig = default -->
| #default =
{{main other
| [[Category:All article disambiguation pages]]
| {{template other
| <!-- Do not categorise on template pages. -->
| [[Category:All disambiguation pages]]
}}
}}
}} }}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>