Template:Ombox/core: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
| move = ombox-move | | move = ombox-move | ||
| protection = ombox-protection | | protection = ombox-protection | ||
| notice | | notice = ombox-notice | ||
| warning = ombox-warning | |||
| error = ombox-error | |||
| success = ombox-success | |||
| #default = ombox-notice | | #default = ombox-notice | ||
}} {{{class|}}}" style="{{{style|}}}"> | }} {{{class|}}}" style="{{{style|}}}"> | ||
Line 23: | Line 26: | ||
| move = Imbox move.png | | move = Imbox move.png | ||
| protection = Imbox protection.png | | protection = Imbox protection.png | ||
| notice | | notice = Imbox notice.png | ||
| warning = Imbox warning.png | |||
| error = Imbox error.png | |||
| success = Imbox success.png | |||
| #default = Imbox notice.png | | #default = Imbox notice.png | ||
}} | {{#ifeq:{{{small|}}}|yes | }} | {{#ifeq:{{{small|}}}|yes | ||
Line 41: | Line 47: | ||
</table><!-- Detect and report usage with faulty "type" parameter: | </table><!-- Detect and report usage with faulty "type" parameter: | ||
-->{{#switch:{{{type|notice}}} | -->{{#switch:{{{type|notice}}} | ||
| speedy | | speedy | ||
| delete | | delete | ||
Line 48: | Line 53: | ||
| move | | move | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | notice | ||
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category: | | warning | ||
| error | |||
| success = <!-- 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:Message box parameter needs fixing|{{FULLPAGENAME}}]] | |||
}} | }} |
Latest revision as of 14:59, 21 July 2024
![]() |
This is a default message. To use this template, provide the parameters such as type, image, imageright, class, style, textstyle, and text. |