Difference between revisions of "Template:Ambox"
(Created page with "{{#ifeq:{{{subst}}}|SUBST |{{#if:{{{name|}}} |{{Error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}} }}[[Category:Pages with incorrectly substituted template...") |
|||
Line 1: | Line 1: | ||
− | {{# | + | <table class="metadata plainlinks ambox {{#switch:{{{type|}}} |
− | + | |speedy = ambox-speedy | |
− | + | |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|}}} | |
− | + | |blank = <td class="mbox-image"><div style="width:52px;"> </div></td> | |
− | + | |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 | |
− | | | + | |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 | + | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
</noinclude> | </noinclude> |