Template:Fmbox: Difference between revisions
imported>Evilissimo No edit summary |
imported>Evilissimo No edit summary |
||
Line 1: | Line 1: | ||
<table id="{{{id|}}}" class="mbox mbox-wide | |||
<table | |||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| warning = | | warning = mbox-warning | ||
| editnotice = | | editnotice = | ||
| system <!-- system = default --> | | system <!-- system = default --> | ||
| #default = | | #default = mbox-notice | ||
}} {{{class|}}}" style="{{{style|}}}"> | }} {{{class|}}}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. --> | | <td class="mbox-empty-cell"><!-- No image. --></td> | ||
| <td class="mbox-image"> | | <td class="mbox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
Line 26: | Line 25: | ||
}} | }} | ||
</tr> | </tr> | ||
</table><!-- | </table><!-- | ||
Detect and report usage with faulty "type" parameter: | Detect and report usage with faulty "type" parameter: | ||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} | ||
Line 34: | Line 33: | ||
| system = <!-- Do nothing, valid "type" --> | | 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 --> | | #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> | ||
<noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:05, 12 March 2012
File:Imbox notice.png | {{{text}}} |
[edit] [history] [ ] Documentation icon Template documentation
The above documentation is transcluded from Template:Fmbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |