en.wikibooks>Davidgothberg (Adding class="mbox-empty-cell" so Happy‑melon can tinker with the empty cell padding in the [hide/show] code.) |
No edit summary |
||
(19 intermediate revisions by 10 users not shown) | |||
Line 10: | Line 10: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = ambox-notice | | #default = ambox-notice | ||
}}" style=" | }}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
{{# | {{#switch:{{{image|}}} | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | | 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">{{ | |||
#switch:{{{small|}}} | |||
| left = <!-- Don't use the DIV --> | | left = <!-- Don't use the DIV --> | ||
| #default = <div style="width: 52px;"> | | #default = <div style="width: 52px;"> | ||
Line 22: | Line 23: | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| [[ | | [[File:{{#switch:{{{type|}}} | ||
| speedy = | | speedy = Octagon delete.png | ||
| delete = | | delete = Octagon delete.png | ||
| content = Ambox | | content = Ambox important.png | ||
| style = | | style = Edit-clear.png | ||
| move = | | move = Merge-split-transwiki default.png | ||
| protection = | | protection = Padlock-light-silver.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = | | #default = Information icon4.png | ||
}} | {{#switch:{{{small|}}} | }} | {{#switch:{{{small|}}} | ||
| left = 20x20px | | left = 20x20px | ||
| #default = 40x40px | | #default = 40x40px | ||
}} ]] | }} |link=|alt=]] | ||
}}{{#switch:{{{small|}}} | }}{{#switch:{{{small|}}} | ||
| left = <!-- Don't use the /DIV --> | | left = <!-- Don't use the /DIV --> | ||
Line 51: | Line 52: | ||
}} | }} | ||
</tr> | </tr> | ||
</table><!-- Detect and report usage with faulty "type" parameter: | </table><!-- | ||
Detect and report usage with faulty "type" parameter: | |||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} | ||
| <!-- No type fed, is also valid input --> | | <!-- No type fed, is also valid input --> | ||
Line 61: | Line 63: | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | 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 | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div> | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | |||
{{ | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |