更改

跳转至: 导航搜索

模板:Ambox/core

删除1,035字节2019年7月8日 (一) 23:52
撤销BearKidsTeam讨论)的版本1444
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"><tr>{{#switch:{{{smallimage|}}} |blank | left none = <td class= "mbox-smallempty-leftcell"></td> |#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}} } |{{{image}}} |[[File:{{#switch:{{{type|}}} | speedy = ambox-Ambox speedydeletion.png | delete = ambox-deleteAmbox deletion.png | content = ambox-Ambox content.png | style = amboxEdit-styleclear.svg | move = ambox-Ambox move.png | protection = ambox-Ambox protection.png | notice <!-- notice = default -->| #default = ambox-Ambox notice.png }} {{#if:{{{section|40x40px|link=|alt=]] }}} <!-- 宣告章節用小型格式 --/div></td> | ambox-section}}<td class="mbox-text" style="{{{styletextstyle|}}}"><trspan class="mbox-text-span">{{{issue|}}}{{#switchif:{{{imagedate|}}} | blank <!-- Fall back to "none", since deprecated. --small>''({{{date}}})''</small>| none = }}<td span class="mboxhide-emptywhen-cellcompact"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->{{#if:{{{talk|}}} | {{#default = <td class="mbox-image">ifexist:{{ #switchifeq:{{TALKPAGENAME:{{{smalltalk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | left = <!-- Don't use the DIV --> {{{talk}}} | #default = <div style="width: 52px;"> {{TALKPAGENAME}}
}}
|&#32;相關討論可見於{{#ififeq:{{TALKPAGENAME:{image|{{talk}}} | {{{image}}} | [[File:{{#switchFULLPAGENAME:{{{type|talk}}}}} | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Ambox style.png | move = Ambox move.png | protection = Ambox protection.png | notice <!-- notice = default --> | #default = Ambox notice.png }} | {[[{#switch:{{{small|talk}}} | left = 20x20px | #default = 40x40px }}{{#ifFULLPAGENAME:{{{section|talk}}} |25px |40px }} ]] |[[{{TALKPAGENAME}}{{#switch:{{{small|talk}}} | left = <!-- Don't use the /DIV --> | #default = </div> 討論頁]] }}</td>. }}<td class="mbox-text" style="{{{textstyle|}}}">{{#ififeq:{{{sectionfix|}}}|-{{{textzh;zh-hans;zh-section|hant{{{text}}}!}}}-||<br><small>{{{textfix|}}}</small>}}</tdspan><span class="hide-when-compact">{{#if:{{{imagerightinfo|}}}| </span></span></td>{{#ifeqswitch:{{{imageright|}}} |none= | <!-- No image. -->= | #default = <td class="mbox-imageright">{{#switch:{{{small|}}} | left = {{{imageright}}} | #default = <div style="width: 52px;"> {{{imageright}}} </div> }}</td> }}}}</tr></table><!-- Detect and report usage with faulty "type" parameter:-->{{#switch:{{{type|}}}| <!-- No type fed, is also valid input -->| speedy| delete| content| style| move| protection| notice = <!-- Do nothing, valid "type" -->| #default = [[Category:需要修复的信息框|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->}}<!-- Detect and report usage of deprecated "image=blank":-->{{#switch:{{{image|}}}| blank = [[Category:需要修复的信息框|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->}}

导航菜单