<table class="metadata plainlinks ambox {{#switch:{class|}}}" style="{{{smallstyle|}}}">
--<tr>{{#switch:{{{image|}}} ▼
| left = mbox-small-left
|blank
}} {{#switch:{{{type|}}} ▼
|none = <td class="mbox- imageempty-cell"> {{</td>▼
| speedy = ambox-speedy
| #default = <td class="mbox-image"><div style="width: 52px;"> {{ #if:{ imageright{{image|}}} </div>▼
| delete = ambox-delete
| content = ambox-content
▲}} |[[File:{{#switch:{{{type|}}}
| style = ambox-style
| speedy = Ambox speedy deletion.png ▼
| move = ambox-move
| delete = Ambox deletion.png ▼
| protection = ambox-protection ▼
| content = Ambox content.png ▼
| notice <!-- notice = default -->
| style = Edit-clear.svg ▼
| #default = ambox-notice ▼
}} {{{class|}}}" style="{{{style|}}}">
▲| |protection = ambox-Ambox protection .png
<tr>
▲| |notice|#default = ambox-Ambox notice .png
{{#switch:{{{image|}}}
}} |40x40px|link=|alt=]] ▼
| blank <!-- Fall back to "none", since deprecated. -->
| none = <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
}}<td class="mbox-text" style="{{{textstyle|}}}"> <span class="mbox-text-span">{{{ textissue|}}}< /span > </tdclass="hide-when-compact"> {{#if:{{{talk|}}}▼
| #default =
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
▲ <td class="mbox-image">{{
#switch: |{{{small|talk}}}
|{{TALKPAGENAME}}
| left = <!-- Don't use the DIV -->
| #default = <div style="width: 52px;">
}}
| Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
{{#if:{{{image|}}}
|[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
|the [[File:{{TALKPAGENAME}}#switch:{{{type|talk}}}|talk page]]
▲ | speedy = Ambox speedy deletion.png
▲ | delete = Ambox deletion.png
}} {{{fix|}}}</span>{{#if:{{{date|}}}
▲ | content = Ambox content.png
| <small>''({{{date}}})''</small>
▲ | style = Edit-clear.svg
}}<span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}}
▲ | move = Ambox move.png
|none =
| protection = Ambox protection.png
|=
| notice <!-- notice = default -->
|#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td>
| #default = Ambox notice.png
}} </tr></table><noinclude> ▼
}} | {{#switch:{{{small|}}}
| left = 20x20px
| #default = 40x40px
}}{{#switch:{{{small|}}}
| left = <!-- Don't use the /DIV -->
| #default = </div>
▲<td class="mbox-text" style="{{{textstyle|}}}"> <span class="mbox-text-span">{{{text}}}</span> </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright">{{#switch:{{{small|}}}
| left = {{{imageright}}}
▲ | #default = <div style="width: 52px;"> {{{imageright}}} </div>
}}</td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--
Detect and report usage of deprecated "image=blank":
▲-->{{#switch:{{{image|}}}
| blank = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|