Template:Fmbox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Adding "type=warning" with "fmbox-warning" class and "Image:Cmbox deletion.png". Adding error reporting of faulty "type" parameter.) |
m (24 revisions) |
||
(14 intermediate revisions by 9 users not shown) | |||
Line 1:
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
{{#switch:{{{type|}}}
| warning = fmbox-warning
Line 5:
| system <!-- system = default -->
| #default = fmbox-system
}} {{{class|}}}" style="
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class="mbox-image
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| warning =
| editnotice =
| system <!-- system = default -->
| #default =
}}|40x40px|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="
{{#if:{{{imageright|}}}
| <td class="mbox-imageright
}}
</tr>
</table><!--
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
Line 37 ⟶ 32:
| 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! -->
|
Latest revision as of 22:36, 11 July 2014
{{{text}}} |
Template documentation
[create]