◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

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

来自少前百科GFwiki
跳转至: 导航搜索
(取消FjBot (對話)的編輯;更改回Bencmq的最後一個版本)
第1行: 第1行:
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|ombox-small}}  
+
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 
| speedy    = ombox-speedy
 
| speedy    = ombox-speedy
第12行: 第12行:
 
<tr>
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
+
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
 
| <td class="mbox-image">
 
| <td class="mbox-image">
 
   {{#if:{{{image|}}}
 
   {{#if:{{{image|}}}
 
   | {{{image}}}
 
   | {{{image}}}
   | [[File:{{#switch:{{{type|}}}
+
   | [[Image:{{#switch:{{{type|}}}
 
     | speedy    = Imbox speedy deletion.png
 
     | speedy    = Imbox speedy deletion.png
 
     | delete    = Imbox deletion.png
 
     | delete    = Imbox deletion.png
第46行: 第46行:
 
| protection
 
| protection
 
| notice    =    <!-- Do nothing, valid "type" -->
 
| notice    =    <!-- Do nothing, valid "type" -->
| #default  = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
+
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[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>

2009年8月10日 (一) 15:54的版本

Template-info-png.png 模板文档  [创建] [刷新]