|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <table class="plainlinks tmbox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | | <table class="plainlinks tmbox tmbox-notice {{{class|CCC}}}" style="{{{style|SSS}}}"> |
| | speedy = tmbox-speedy
| | <tr><td class="mbox-image"> |
| | warning <!-- deprecated -->
| | [[File:Information icon4.png|40x40px|link=|alt=]]</td> |
| | serious <!-- deprecated -->
| |
| | delete = tmbox-delete
| |
| | content = tmbox-content
| |
| | style = tmbox-style
| |
| | move = tmbox-move
| |
| | protection = tmbox-protection
| |
| | notice <!-- notice = default -->
| |
| | #default = tmbox-notice
| |
| }} {{{class|}}}" style="{{{style|}}}">
| |
| <tr> | |
| {{#ifeq:{{{image|}}}|none
| |
| | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td>
| |
| | <td class="mbox-image">
| |
| {{#if:{{{image|}}}
| |
| | {{{image}}}
| |
| | [[File:{{#switch:{{{type|}}}
| |
| | speedy = Ambox warning pn.svg
| |
| | warning <!-- deprecated -->
| |
| | serious <!-- deprecated -->
| |
| | delete = Ambox warning pn.svg
| |
| | content = Ambox Content.svg
| |
| | style = Edit-clear.svg
| |
| | move = Merge-split-transwiki default.svg
| |
| | protection = Padlock-silver-medium.svg
| |
| | notice <!-- notice = default -->
| |
| | #default = Information icon4.svg
| |
| }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}}|link=|alt=]]
| |
| }}</td>
| |
| }}
| |
| <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> |
| {{#if:{{{imageright|}}}
| |
| | {{#ifeq:{{{imageright|}}}|none
| |
| | <!-- No image. -->
| |
| | <td class="mbox-imageright"> {{{imageright}}} </td>
| |
| }}
| |
| }}
| |
| </tr> | | </tr> |
| </table><!-- Detect and report usage with faulty "type" parameter: | | </table><noinclude> |
| -->{{#switch:{{{type|}}}
| | {{documentation}}{{FAB-todo|Gutted, revisit when have parserFunctions}} |
| | <!-- No type fed, is also valid input -->
| |
| | speedy
| |
| | delete | |
| | warning <!-- deprecated -->
| |
| | serious <!-- deprecated -->
| |
| | 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>
| |
| }}<noinclude>
| |
| {{documentation}}
| |
| <!-- Add categories and interwikis to the /doc subpage, not here! --> | | <!-- Add categories and interwikis to the /doc subpage, not here! --> |
| </noinclude> | | </noinclude> |