Template:Ambox: Difference between revisions

1,172 bytes removed ,  3 years ago
m
3 revisions imported: importing from sister site
No edit summary
m (3 revisions imported: importing from sister site)
 
(7 intermediate revisions by 4 users not shown)
Line 1:
{{#invoke:Message box|ambox}}{{#ifeq:{{{small}}}|left|[[Category:Articles using small message boxes]]}}<noinclude>
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
{{documentation}}
|speedy = ambox-speedy
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|delete = ambox-delete
|serious = ambox-serious
|content = ambox-content
|style = ambox-style
|merge = ambox-move
|move = ambox-move
|protection = ambox-protection
|notice = ambox-notice
|#default = ambox-notice
}} {{{class|}}}" style="{{{style|display:table}}};">
<tr>
{{#switch:{{{image|}}}
|none = <td class="mbox-empty-cell"></td>
|#default = <td class="mbox-image"><div style="width:52px;">{{#if:{{{image|}}}
|{{{image}}}
|[[File:{{#switch:{{{type|}}}
|speedy = Ambox speedy deletion.png
|delete = Ambox deletion.png
|serious = Stop hand nuvola.svg
|content = Ambox content.png
|style = Edit-clear.svg
|merge = Merge-arrows.svg
|move = Merge-split-transwiki default.svg
|protection = Ambox protection.png
|blank =
|notice
|#default = Ambox notice.png
}}|40x40px|link=|alt=]]
}}</div></td>
}}
<td class="mbox-text" style="{{{textstyle|display:table-cell}}};">{{{text}}}{{#if:{{{lang|}}}|
<hr />
{{{{{lang|}}}}}}}</td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. --><td class="mbox-empty-cell"></td>
| <td class="mbox-imageright"><div style="width:52px;">{{{imageright}}}</div></td>
}}
}}
</tr>
</table><noinclude>
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>