Anonymous user
Template:Fmbox: Difference between revisions
make id optional
(not protected) |
(make id optional) |
||
Line 1:
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks
{{#switch:{{{type|}}}
| warning =
| editnotice = fmbox-editnotice
| system <!-- system = default -->
| #default =
}} {{{class|}}}" style="{{{style|}}}">
<tr>
Line 25:
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
Line 34:
| #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>
{{pp-template}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|