Template:Ombox/core: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} | <table class="plainlinks ombox {{#ifeq:{{{small|}}}|yes|mbox-small}} | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|notice}}} | ||
| speedy = ombox-speedy | | speedy = ombox-speedy | ||
| delete = ombox-delete | | delete = ombox-delete | ||
Line 16: | Line 16: | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| [[File:{{#switch:{{{type|}}} | | [[File:{{#switch:{{{type|notice}}} | ||
| speedy = Imbox speedy deletion.png | | speedy = Imbox speedy deletion.png | ||
| delete = Imbox deletion.png | | delete = Imbox deletion.png | ||
Line 31: | Line 31: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text|This is a default message.}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none | ||
Line 40: | Line 40: | ||
</tr> | </tr> | ||
</table><!-- Detect and report usage with faulty "type" parameter: | </table><!-- Detect and report usage with faulty "type" parameter: | ||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|notice}}} | ||
| <!-- No type fed, is also valid input --> | | <!-- No type fed, is also valid input --> | ||
| speedy | | speedy |
Revision as of 14:06, 21 July 2024
![]() |
This is a default message. |