◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 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}}  
{| class="plainlinks ombox {{#ifeq:{{{small}}}|yes|ombox-small}}
 
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
| speedy = ombox-speedy || delete    = ombox-delete
+
| speedy     = ombox-speedy
| content = ombox-content
+
| delete    = ombox-delete
| style = ombox-style || move      = ombox-move
+
| content   = ombox-content
 +
| style     = ombox-style
 +
| move      = ombox-move
 
| protection = ombox-protection
 
| protection = ombox-protection
| notice <!-- notice = default --
+
| notice         <!-- notice = default -->
|
+
| #default  = ombox-notice
#default  = ombox-notice
 
 
}}" style="{{{style|}}}">
 
}}" style="{{{style|}}}">
|-----
+
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->
+
| <!-- 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>
| style="border: none; padding: 0px; width: 1px;" |
+
| <td class="mbox-image">
| || class="mbox-image" |
+
  {{#if:{{{image|}}}
{{#if:{{{image|}}}
+
  | {{{image}}}
| {{{image}}} || [[File:{{#switch:{{{type|}}}
+
  | [[File:{{#switch:{{{type|}}}
| speedy = Imbox speedy deletion.png
+
    | speedy     = Imbox speedy deletion.png
| delete = Imbox deletion.png || content    = Imbox content.png
+
    | delete     = Imbox deletion.png
| style = Imbox style.png
+
    | content    = Imbox content.png
| move = Imbox move.png || protection = Imbox protection.png
+
    | style     = Imbox style.png
| notice <!-- notice = default -->
+
    | move       = Imbox move.png
|
+
    | protection = Imbox protection.png
#default  = Imbox notice.png
+
    | notice         <!-- notice = default -->
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
+
    | #default  = Imbox notice.png
 +
    }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
 +
  }}</td>
 
}}
 
}}
}}
+
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
| class="mbox-text" style="{{{textstyle|}}}" {{{text}}}
 
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none || <!-- No image. -->
+
| {{#ifeq:{{{imageright|}}}|none
|
+
  | <!-- No image. -->
| class="mbox-imageright" {{{imageright}}}  
+
  | <td class="mbox-imageright"> {{{imageright}}} </td>
}}
+
  }}
 
}}
 
}}
|}<!-- Detect and report usage with faulty "type" parameter:
+
</tr>
 +
</table><!-- Detect and report usage with faulty "type" parameter:
 
-->{{#switch:{{{type|}}}
 
-->{{#switch:{{{type|}}}
 
|  <!-- No type fed, is also valid input -->
 
|  <!-- No type fed, is also valid input -->

2009年5月9日 (六) 14:18的版本

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