Template:Ombox/core: Difference between revisions
Jump to navigation
Jump to search
Chrysophylax (talk | contribs) m re-adding book (accid. deleted by massive import) |
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|}}} | ||
| speedy = ombox-speedy | | speedy = ombox-speedy | ||
| Line 5: | Line 5: | ||
| content = ombox-content | | content = ombox-content | ||
| style = ombox-style | | style = ombox-style | ||
| move = ombox-move | | move = ombox-move | ||
| protection = ombox-protection | | protection = ombox-protection | ||
| notice | | notice | ||
| #default = ombox-notice | | #default = ombox-notice | ||
}} {{{class|}}}" style="{{{style|}}} | }} {{{class|}}}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| Line 17: | Line 16: | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| [[ | | [[File:{{#switch:{{{type|}}} | ||
| speedy = | | speedy = Codex icon clock color-error.svg | ||
| delete = | | delete = Codex icon trash color-error.svg | ||
| content = | | content = Codex icon alert color-warning.svg | ||
| style = OOjs UI icon broom.svg | |||
| style = | | move = Codex icon move color-warning.svg | ||
| move = | | protection = Codex icon lock color-progressive.svg | ||
| protection = | | notice | ||
| notice | | #default = Codex icon notice color-progressive.svg | ||
| #default = | |||
}} | {{#ifeq:{{{small|}}}|yes | }} | {{#ifeq:{{{small|}}}|yes | ||
| 30x30px | | 30x30px | ||
| 40x40px | | 40x40px | ||
}}| | }}|alt=|link=]] | ||
}}</td> | }}</td> | ||
}} | }} | ||
| Line 47: | Line 45: | ||
| delete | | delete | ||
| content | | content | ||
| style | | style | ||
| move | | move | ||
| protection | | protection | ||
| notice = | | 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>[[Category: | | #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|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
}} | }} | ||
Latest revision as of 17:26, 20 April 2026
|
|
{{{text}}} |