更改

跳转至: 导航搜索

模板:Ambox/core

添加1,035字节2019年7月8日 (一) 23:44
无编辑摘要
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"><tr>{{#switch:{{{imagesmall|}}} |blank |none = <td classleft ="mbox-emptysmall-cell"></td>left |#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}} |{{{image}}} |[[File:{{#switch:{{{type|}}} |speedy = Ambox ambox-speedy deletion.png |delete = Ambox deletion.pngambox-delete |content = Ambox ambox-content.png |style = Editambox-clear.svgstyle |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="{{{textstylestyle|}}}"><span class="mbox-text-span"tr>{{{issue|}}}{{#ifswitch:{{{dateimage|}}} |blank <!-- Fall back to "none", since deprecated. -->| none = <smalltd class="mbox-empty-cell">''({{{date}}})''</smalltd> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->}}| #default = <span td class="hidembox-when-compactimage"> {{#if:{{{talk|}}} |{{ #ifexist:{{#ifeqswitch:{{TALKPAGENAME:{{{talk}}}}}small|{{FULLPAGENAME:{{{talk}}}}} |{{{talk}}}left = <!-- Don't use the DIV --> |{{TALKPAGENAME}}#default = <div style="width: 52px;">
}}
|&#32;相關討論可見於{{#ifeqif:{{TALKPAGENAME:{image|}}} | {{{talk}}image}}} |[[File:{{FULLPAGENAME#switch:{{{talktype|}}} | 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:{{{talksmall|}}} |left = 20x20px | #default = 40x40px }}{{FULLPAGENAME#if:{{{talksection|}}} |25px |40px }}]] |[[ }}{{TALKPAGENAME}}#switch:{{{talksmall|}}} | left = <!-- Don't use the /DIV --> |討論頁]]#default = </div> }}.</td> }}<td class="mbox-text" style="{{{textstyle|}}}">{{#ifeqif:{{{fixsection|}}}|{{{text-section|{zh;zh-hans;zh-hant{{!text}}}}} }-||<br><small>{{{fix|text}}}</small>}}</span><span class="hide-when-compact"td> {{#if:{{{infoimageright|}}}</span></span></td>| {{#switchifeq:{{{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 -->}}

导航菜单