◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:Ombox/core”的版本间的差异
< 模板:Ombox
小 (機器人:表格語法更新) |
Mikumikuer(讨论 | 贡献) 小 (导入16个版本) |
||
(未显示9个用户的12个中间版本) | |||
第1行: | 第1行: | ||
− | + | <table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} | |
− | |||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
− | | speedy = ombox-speedy | + | | speedy = ombox-speedy |
− | | content = ombox-content | + | | delete = ombox-delete |
− | | style = ombox-style | + | | 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 class="mbox-empty-cell"></td> |
− | + | | <td class="mbox-image"> | |
− | | | + | {{#if:{{{image|}}} |
− | {{#if:{{{image|}}} | + | | {{{image}}} |
− | | {{{image}}} | + | | [[File:{{#switch:{{{type|}}} |
− | | speedy = | + | | speedy = Ambox speedy deletion.png |
− | | delete = | + | | delete = Ambox deletion.png |
− | | style = | + | | content = Ambox content.png |
− | | move = | + | | style = Ambox style.png |
− | | notice <!-- notice = default --> | + | | move = Ambox move.png |
− | | | + | | protection = Ambox protection.png |
− | #default = | + | | notice <!-- notice = default --> |
− | }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]] | + | | #default = Ambox notice.png |
+ | }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]] | ||
+ | }}</td> | ||
}} | }} | ||
− | + | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | |
− | |||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
− | | {{#ifeq:{{{imageright|}}}|none | + | | {{#ifeq:{{{imageright|}}}|none |
− | | | + | | <!-- No image. --> |
− | + | | <td class="mbox-imageright"> {{{imageright}}} </td> | |
− | }} | + | }} |
}} | }} | ||
− | + | </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 --> | ||
第44行: | 第46行: | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | notice = <!-- Do nothing, valid "type" --> | ||
− | | #default = [[Category: | + | | #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! --> | ||
+ | [[Category:元模板]] | ||
</noinclude> | </noinclude> |