Template:Mbox: Difference between revisions
Content added Content deleted
(testing wikitable code, and changes of logic, do not kill me it if's not working) |
|||
Line 1: | Line 1: | ||
{| class="metadata plainlinks ambox {{#switch:{{{type|}}} |
|||
| serious = ambox-serious |
|||
⚫ | |||
| |
| content = ambox-content |
||
| |
| style = ambox-style |
||
| |
| merge = ambox-merge |
||
| notice = ambox-notice |
|||
| #default = ambox-notice |
|||
}}" |
|||
| #default = ambox-notice |
|||
|- |
|||
}}"><tr> |
|||
{{#ifeq:{{{image}}}|none |
{{#ifeq:{{{image}}}|none |
||
<!-- image |
| <!-- no image cell --> |
||
| {{!}} class="ambox-image" {{!}} {{#switch:{{{image|{{{type|}}}}}} |
|||
|<!-- else --> |
|||
⚫ | |||
<td class="ambox-image"><!-- |
|||
⚫ | |||
-->{{#ifeq:{{{image}}}|blank| |
|||
⚫ | |||
<!-- image=blank --> |
|||
⚫ | |||
|<!-- image != blank --> |
|||
⚫ | |||
{{#if:{{{image|}}}| |
|||
| blank = <!-- empty image cell --> |
|||
⚫ | |||
⚫ | |||
|<!-- No image param --> |
|||
}} |
|||
{{#switch:{{{type|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}<!-- End #switch type --> |
|||
}}<!-- End if image --> |
|||
}}<!-- End ifeq image==blank --> |
|||
</td> |
|||
}}<!-- End ifeq image==none --> |
|||
<td>{{{text}}}</td> |
|||
{{#if:{{{imageright|}}}| |
|||
⚫ | |||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
{{template doc}} |
{{template doc}} |
||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> |