Template:Fmbox: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
imported>WOSlinker
remove {{pp-template}}
imported>Happy-melon
need empty cell for boxflow
Line 1: Line 1:
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
<table id="{{{id|}}}" class="plainlinks mbox mbox-wide
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| warning = fmbox-warning
| warning = mbox-warning
| editnotice = fmbox-editnotice
| editnotice =
| system <!-- system = default -->
| system <!-- system = default -->
| #default = fmbox-system
| #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 25: 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|}}}

Revision as of 00:06, 24 March 2011

[create] Template documentation