“模板:Ombox/core”的版本间的差异

来自问题求解
跳转至: 导航搜索
(1个修订)
(png → svg)
(未显示另一用户的1个中间版本)
第9行: 第9行:
 
| notice          <!-- notice = default -->
 
| notice          <!-- notice = default -->
 
| #default  = ombox-notice
 
| #default  = ombox-notice
}} {{{class|}}}" style="{{{style|}}}">
+
}}" style="{{{style|}}}">
 
<tr>
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
第16行: 第16行:
 
   {{#if:{{{image|}}}
 
   {{#if:{{{image|}}}
 
   | {{{image}}}
 
   | {{{image}}}
   | [[Image:{{#switch:{{{type|}}}
+
   | [[File:{{#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      = Edit-clear.svg
+
     | style      = Imbox style.png
 
     | move      = Imbox move.png
 
     | move      = Imbox move.png
 
     | protection = Imbox protection.png
 
     | protection = Imbox protection.png
 
     | notice          <!-- notice = default -->
 
     | notice          <!-- notice = default -->
     | #default  = Imbox notice.png
+
     | #default  = Information icon4.svg
     }} | {{#ifeq:{{{small|}}}|yes
+
     }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
    | 30x30px
 
    | 40x40px
 
    }}|link=|alt=]]
 
 
   }}</td>
 
   }}</td>
 
}}
 
}}
第49行: 第46行:
 
| 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:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
+
| #default  = [[Category:需要修复的信息框|{{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年8月18日 (四) 23:46的版本

[創建] 50px 模板文档