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

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

来自少前百科GFwiki
跳转至: 导航搜索
(取消FjBot (對話)的編輯;更改回P-bot的最後一個版本)
(导入9个版本)
 
(未显示4个用户的5个中间版本)
第1行: 第1行:
<table class="messagebox standard
+
{{#ifeq:{{{small|}}}|yes
{{#switch:{{{type|}}}
+
| {{ombox/core
| speedy    = ombox-speedy
+
  | small = yes
| delete    = ombox-delete
+
  | type  = {{{type|}}}
| content    = ombox-content
+
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
| style      = ombox-style
+
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
| move      = ombox-move
+
  | style = {{{style|}}}
| protection = ombox-protection
+
  | textstyle = {{{textstyle|}}}
| notice          <!-- notice = default -->
+
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
| #default  = ombox-notice
+
  }}
}}" style="{{{style|}}}">
+
| {{ombox/core
<tr>
+
  | type  = {{{type|}}}
{{#ifeq:{{{image|}}}|none
+
   | image = {{{image|}}}
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
+
  | imageright = {{{imageright|}}}  
| <td class="ombox-image">
+
  | style = {{{style|}}}
  {{#if:{{{image|}}}
+
  | textstyle = {{{textstyle|}}}
  | {{{image}}}
+
  | text  = {{{text}}}
  | {{#switch:{{{type|}}}
+
  }}
    | speedy    = [[File:Imbox speedy deletion.png|40x40px]]
+
}}<noinclude>
    | delete    = [[File:Imbox deletion.png|40x40px]]
+
{{documentation}}
    | content    = [[File:Imbox content.png|40x40px]]
+
[[Category:元模板]]
    | style      = [[File:Imbox style.png|40x40px]]
 
    | move      = [[File:Imbox move.png|40x40px]]
 
    | protection = [[File:Imbox protection.png|40x40px]]
 
    | notice          <!-- notice = default -->
 
    | #default  = [[File:Imbox notice.png|40x40px]]
 
    }}
 
   }}</td>
 
}}
 
<td class="ombox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
{{#if:{{{imageright|}}}
 
| <td class="ombox-imageright"> {{{imageright}}} </td>
 
}}
 
</tr>
 
</table><noinclude>
 
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

2018年10月29日 (一) 18:33的最新版本

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