Difference between revisions of "Template:Fmbox"
(remove {{pp-template}}) |
(Založena nová stránka: <table id="{{{id|}}}" class="mbox mbox-wide {{#switch:{{{type|}}} | warning = mbox-warning | editnotice = | system <!-- system = default --> | #default = …) |
||
Line 1: | Line 1: | ||
− | <table | + | <table id="{{{id|}}}" class="mbox mbox-wide |
{{#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 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|}}} |