Template:Cmbox: Difference between revisions
(Created page with '<table class="plainlinks cmbox {{#switch:{{{type|}}} | speedy = cmbox-speedy | delete = cmbox-delete | content = cmbox-content | style = cmbox-style | move …') |
No edit summary |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = cmbox-notice | | #default = cmbox-notice | ||
}}" style="{{{style|}}}"> | }}" style="{{grey border}} margin-bottom: 0px; {{{style|}}}"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><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-empty-cell"></td> | ||
| <td class="mbox-image"> | | <td class="mbox-image" style="vertical-align: middle;"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| [[File:{{#switch:{{{type|}}} | | [[File:{{#switch:{{{type|}}} | ||
| speedy = | | speedy = Dialog-warning.png | ||
| delete = | | delete = Dialog-warning.png | ||
| content = | | content = Important.png | ||
| style = | | style = Broom icon.png | ||
| move = | | move = Move.png | ||
| protection = | | protection = Padlock.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = Information icon.png | | #default = Information icon.png | ||
Line 28: | Line 28: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | <td class="mbox-text" style="vertical-align: middle;{{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class="mbox-imageright"> {{{imageright}}} </td> | | <td class="mbox-imageright" style="vertical-align: middle;"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> | ||
Line 47: | Line 47: | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}}[[Category:Article message boxes]] | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 15:31, 3 November 2023
![]() |
{{{text}}} |
The above documentation is transcluded from Template:Cmbox/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |