Difference between revisions of "Template:Ombox/core"
Jump to navigation
Jump to search
(Needed to use Infobox) |
|||
(5 intermediate revisions by 3 users not shown) | |||
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|}}} | ||
+ | | critical = mbox-critical | ||
+ | | important = mbox-important | ||
+ | | caution = mbox-caution | ||
+ | | warning = mbox-warning | ||
+ | | license = mbox-license | ||
| speedy = ombox-speedy | | speedy = ombox-speedy | ||
| delete = ombox-delete | | delete = ombox-delete | ||
Line 9: | Line 14: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = ombox-notice | | #default = ombox-notice | ||
− | }} {{{class|}}}" style="{{{style|}}} | + | }} {{{class|}}}" style="{{{style|}}}"> |
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
Line 17: | Line 22: | ||
| {{{image}}} | | {{{image}}} | ||
| [[Image:{{#switch:{{{type|}}} | | [[Image:{{#switch:{{{type|}}} | ||
− | | speedy = | + | | critical = Ambox warning pn.svg |
− | | delete = | + | | important = Ambox warning pn.svg |
− | | content = | + | | warning = Ambox important.svg |
− | | style = Edit-clear. | + | | caution = Edit-clear.png |
− | | move = | + | | license = Copyright.png |
− | | protection = | + | | speedy = Ambox speedy deletion.png |
+ | | delete = Ambox deletion.png | ||
+ | | content = Ambox content.png | ||
+ | | style = Edit-clear.png | ||
+ | | move = Ambox move.png | ||
+ | | protection = Ambox protection.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
− | | #default = | + | | #default = Ambox notice.png |
}} | {{#ifeq:{{{small|}}}|yes | }} | {{#ifeq:{{{small|}}}|yes | ||
| 30x30px | | 30x30px | ||
Line 42: | Line 52: | ||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} | ||
| <!-- No type fed, is also valid input --> | | <!-- No type fed, is also valid input --> | ||
+ | | critical | ||
+ | | important | ||
+ | | warning | ||
+ | | caution | ||
+ | | license | ||
| speedy | | speedy | ||
| delete | | delete | ||
Line 49: | Line 64: | ||
| 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>[[Category: | + | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Pages to be recoded|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> |
}}<noinclude> | }}<noinclude> | ||