「テンプレート:Ombox/core」の版間の差分
提供: ひつじ小屋別館2代目
細 (1版) |
(Revert import (type "important", "critical" and others were no longer workign and causing a warning to be output on lots of pages)) |
||
1行目: | 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 | ||
9行目: | 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 | ||
17行目: | 22行目: | ||
| {{{image}}} | | {{{image}}} | ||
| [[Image:{{#switch:{{{type|}}} | | [[Image:{{#switch:{{{type|}}} | ||
+ | | critical = Ambox warning pn.svg | ||
+ | | important = Ambox warning pn.svg | ||
+ | | warning = Ambox important.svg | ||
+ | | caution = Edit-clear.svg | ||
+ | | license = Imbox_license.svg | ||
| speedy = Imbox speedy deletion.png | | speedy = Imbox speedy deletion.png | ||
| delete = Imbox deletion.png | | delete = Imbox deletion.png | ||
42行目: | 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 |
2013年9月28日 (土) 06:31時点における版
{{{text}}} |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |