“模板:Ombox/core”的版本间的差异
来自问题求解
< 模板:Ombox
小 (png → svg) |
(Add class parameter) |
||
第9行: | 第9行: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = ombox-notice | | #default = ombox-notice | ||
− | }}" style="{{{style|}}}"> | + | }} {{{class|}}}" style="{{{style|}}}"> |
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
第16行: | 第16行: | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
− | | [[ | + | | [[Image:{{#switch:{{{type|}}} |
| speedy = Imbox speedy deletion.png | | speedy = Imbox speedy deletion.png | ||
| delete = Imbox deletion.png | | delete = Imbox deletion.png | ||
| content = Imbox content.png | | content = Imbox content.png | ||
− | | style = | + | | style = Edit-clear.svg |
| move = Imbox move.png | | move = Imbox move.png | ||
| protection = Imbox protection.png | | protection = Imbox protection.png | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
− | | #default = | + | | #default = Imbox notice.png |
− | }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]] | + | }} | {{#ifeq:{{{small|}}}|yes |
+ | | 30x30px | ||
+ | | 40x40px | ||
+ | }}|link=|alt=]] | ||
}}</td> | }}</td> | ||
}} | }} | ||
第46行: | 第49行: | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | notice = <!-- Do nothing, valid "type" --> | ||
− | | #default = [[Category: | + | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> |
}}<noinclude> | }}<noinclude> | ||
+ | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
2011年11月30日 (三) 18:47的版本
40x40px | {{{text}}} |