Difference between revisions of "Template:Ambox/core"
From MediaWiki
(Per edit request at Wikipedia talk:Manual of Style (article message boxes)#Adding HTML IDs to article maintenance tags) |
|||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <table class="metadata plainlinks ambox {{#switch:{{{ | + | <table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"> |
− | | | + | <tr>{{#switch:{{{image|}}} |
− | }} {{#switch:{{{type|}}} | + | |blank |
− | | speedy | + | |none = <td class="mbox-empty-cell"></td> |
− | | delete | + | |#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}} |
− | | content | + | |{{{image}}} |
− | | style | + | |[[File:{{#switch:{{{type|}}} |
− | | move | + | |speedy = Ambox speedy deletion.png |
− | | protection = | + | |delete = Ambox deletion.png |
− | | notice | + | |content = Ambox content.png |
− | | #default | + | |style = Edit-clear.svg |
− | }} | + | |move = Ambox move.png |
− | < | + | |protection = Ambox protection.png |
− | {{ | + | |notice|#default = Ambox notice.png |
− | + | }}|40x40px|link=|alt=]] | |
− | + | }}</div></td> | |
− | | # | + | }}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}} |
− | + | |{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | |
− | + | |{{{talk}}} | |
− | + | |{{TALKPAGENAME}} | |
− | + | ||
}} | }} | ||
− | {{# | + | | Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} |
− | + | |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]] | |
− | + | |the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]] | |
− | + | }}. | |
− | + | }} | |
− | + | }} {{{fix|}}}</span>{{#if:{{{date|}}} | |
− | + | | <small>''({{{date}}})''</small> | |
− | + | }}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}} | |
− | + | |none = | |
− | + | |= | |
− | + | |#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td> | |
− | + | }}</tr></table> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
− | + | ||
− | |<small>''({{{date}}})''</small> | + | |
− | }}< | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}< | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + |
Latest revision as of 12:56, 27 February 2013
|#default = | {{#if:
|{{{image}}} |[[File:{{#switch: |speedy = Ambox speedy deletion.png |delete = Ambox deletion.png |content = Ambox content.png |style = Edit-clear.svg |move = Ambox move.png |protection = Ambox protection.png |notice|#default = Ambox notice.png }}|40x40px|link=|alt=]]}} |
}}| ({{{date}}})}} {{#if: | {{#switch:
|none =
|=
|#default = {{{imageright}}} |
}}