|
|
Line 1: |
Line 1: |
| {{#switch:{{{small|}}}fckLR| left = mbox-small-leftfckLR}}
| |
| {{#switch:{{{type|}}}
| |
| | speedy = ambox-speedy
| |
| | delete = ambox-delete
| |
| | content = ambox-content
| |
| | style = ambox-style
| |
| | move = ambox-move
| |
| | protection = ambox-protection
| |
| | notice <!-- notice = default -->
| |
| | #default = ambox-notice
| |
| }}{{{class|}}}
| |
| " style="
| |
| {{grey border}}{{{style|}}}
| |
| ">
| |
| {{#switch:{{{image|}}}
| |
| | 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. -->
| |
| | #default =
| |
| <td class="mbox-image" style="vertical-align: middle;">{{
| |
| #switch:{{{small|}}}
| |
| | left = <!-- Don't use the DIV -->
| |
| | #default = <div style="width: 52px;">
| |
| }}
| |
| {{#if:{{{image|}}}
| |
| | {{{image}}}
| |
| | [[File:{{#switch:{{{type|}}}
| |
| | speedy = Icon-warning.png
| |
| | delete = Deletion icon.svg.png
| |
| | content = Important.png
| |
| | style = Broom icon.png
| |
| | move = Move.png
| |
| | protection = Ambox protection.png
| |
| | notice <!-- notice = default -->
| |
| | #default = Information icon.png
| |
| }} | {{#switch:{{{small|}}}
| |
| | left = 20x20px
| |
| | #default = 40x40px
| |
| }} |link=|alt=]]
| |
| }}{{#switch:{{{small|}}}
| |
| | left = <!-- Don't use the /DIV -->
| |
| | #default = </div>
| |
| }}</td>
| |
| }}
| |
| {{#if:{{{imageright|}}}
| |
| | {{#ifeq:{{{imageright|}}}|none
| |
| | <!-- No image. -->
| |
| | <td class="mbox-imageright">{{#switch:{{{small|}}}
| |
| | left = {{{imageright}}}
| |
| | #default = <div style="width: 52px;"> {{{imageright}}} </div>
| |
| }}</td>
| |
| }}
| |
| }}
| |
|
| |
|
| {| fck_mw_template"="" class="metadata plainlinks ambox <span class="
| |
| |-
| |
| | fck_mw_template"="" style="<span class=" class="mbox-text" | {{{textstyle|}}}; vertical-align:middle;"> {{{text}}} {{#if:{{{date|}}}
| |
| |<small>''({{{date}}})''</small>
| |
| }}
| |
| |}
| |
| <!--
| |
| 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 -->
| |
| }}<noinclude>
| |
| {{documentation}}
| |
| <!-- Add categories and interwikis to the /doc subpage, not here! -->
| |
| </noinclude>
| |