Changes

Jump to navigation Jump to search
1,464 bytes added ,  12:41, 26 March 2020
m
1 revision imported
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
{{#switch:{{{type|}}}
| warning = fmbox-warning
| editnotice = fmbox-editnotice
| system <!-- system = default -->
| #default = fmbox-system
}} {{{class|}}}" style="{{{style|}}}" role="presentation" dir="{{{dir|{{dir|{{uselang}}}}}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| warning = OOjs UI icon alert-destructive.svg
| editnotice = OOjs UI icon information-progressive.svg
| system <!-- system = default -->
| #default = OOjs UI icon information-progressive.svg
}}|40x40px|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| warning
| editnotice
| system = <!-- 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 -->
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Navigation menu