Template:Fmbox: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(update from enwiki)
Line 1: Line 1:
<table id="{{{id|}}}" class="mbox mbox-wide
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| warning = fmbox-warning
| license
| editnotice = fmbox-editnotice
| warning = mbox-warning
| editnotice =
| system <!-- system = default -->
| system <!-- system = default -->
| #default = mbox-notice
| #default = fmbox-system
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
| <td class="mbox-empty-cell"><!-- No image. --></td>
| <!-- No image. -->
| <td class="mbox-image">
| <td class="mbox-image">
{{#if:{{{image|}}}
{{#if:{{{image|}}}
| {{{image}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| [[File:{{#switch:{{{type|}}}
| license = Imbox_license.svg
| warning = Cmbox deletion.png
| warning = Cmbox deletion.png
| editnotice = Imbox notice.png
| editnotice = Imbox notice.png
Line 27: 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|}}}
| <!-- No type fed, is also valid input -->
| <!-- No type fed, is also valid input -->
| license
| warning
| warning
| editnotice
| editnotice

Revision as of 06:11, 5 July 2012