Template:Mbox: Difference between revisions
(rm spaces after mod to template doc) |
m (1 revision imported) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(96 intermediate revisions by 41 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:Message box|mbox}}<noinclude> |
|||
<table class="metadata plainlinks ambox |
|||
{{documentation}} |
|||
{{#switch:{{{type|}}} |
|||
⚫ | |||
| serious = ambox-serious |
|||
| content = ambox-content |
|||
| style = ambox-style |
|||
| merge = ambox-merge |
|||
| notice = ambox-notice |
|||
| #default = ambox-notice |
|||
}}" style="clear: both; width: 80%; margin: 0 0 0 10%; border-collapse: collapse; background: #f8fcff; border: 1px solid #aaa;"><tr> |
|||
{{#ifeq:{{{image}}}|none| |
|||
<!-- image=none --> |
|||
|<!-- else --> |
|||
<td class="ambox-image"><!-- |
|||
-->{{#ifeq:{{{image}}}|blank| |
|||
<!-- image=blank --> |
|||
|<!-- image != blank --> |
|||
{{#if:{{{image|}}}| |
|||
{{{image}}} |
|||
|<!-- No image param --> |
|||
{{#switch:{{{type|}}} |
|||
| serious = [[Image:Stop hand nuvola.svg|40px]] |
|||
| content = [[Image:Emblem-important.svg|40px]] |
|||
| style = [[Image:Broom icon.svg|40px]] |
|||
| merge = [[Image:Merge-split-transwiki default.svg]] |
|||
| notice = [[Image:Info non-talk.png|40px]] |
|||
| #default = [[Image:Info non-talk.png|40px]] |
|||
}}<!-- End #switch type --> |
|||
}}<!-- End if image --> |
|||
}}<!-- End ifeq image==blank --> |
|||
</td> |
|||
}}<!-- End ifeq image==none --> |
|||
<td>{{{text}}}</td> |
|||
{{#if:{{{imageright|}}}| |
|||
<td class="ambox-imageright">{{{imageright}}}</td> |
|||
}} |
|||
</tr></table><noinclude> |
|||
{{template doc}} |
|||
⚫ | |||
</noinclude> |
</noinclude> |