“模板:Ambox/core”的版本间的差异
< 模板:Ambox
BearKidsTeam(讨论 | 贡献) |
BearKidsTeam(讨论 | 贡献) (撤销BearKidsTeam(讨论)的版本1444) (1个标签:撤销) |
||
第1行: | 第1行: | ||
− | <table class="metadata plainlinks ambox {{#switch:{{{ | + | <table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"> |
− | | | + | <tr>{{#switch:{{{image|}}} |
− | }} {{#switch:{{{type|}}} | + | |blank |
− | | speedy | + | |none = <td class="mbox-empty-cell"></td> |
− | | delete | + | |#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}} |
− | | content | + | |{{{image}}} |
− | | style | + | |[[File:{{#switch:{{{type|}}} |
− | | move | + | |speedy = Ambox speedy deletion.png |
− | | protection = | + | |delete = Ambox deletion.png |
− | | notice | + | |content = Ambox content.png |
− | | #default | + | |style = Edit-clear.svg |
− | }} | + | |move = Ambox move.png |
− | + | |protection = Ambox protection.png | |
− | }}" style="{{{ | + | |notice|#default = Ambox notice.png |
− | < | + | }}|40x40px|link=|alt=]] |
− | {{# | + | }}</div></td> |
− | | | + | }}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}{{#if:{{{date|}}} |
− | + | |<small>''({{{date}}})''</small> | |
− | | # | + | }}<span class="hide-when-compact"> {{#if:{{{talk|}}} |
− | + | |{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | |
− | + | |{{{talk}}} | |
− | + | |{{TALKPAGENAME}} | |
− | |||
}} | }} | ||
− | {{# | + | | 相關討論可見於{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} |
− | + | |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]] | |
− | + | |[[{{TALKPAGENAME}}#{{{talk}}}|討論頁]] | |
− | + | }}. | |
− | + | }} | |
− | + | }}{{#ifeq:{{{fix|}}}|-{zh;zh-hans;zh-hant{{!}} }-||<br><small>{{{fix|}}}</small>}}</span><span class="hide-when-compact"> {{{info|}}}</span></span></td>{{#switch:{{{imageright|}}} | |
− | + | |none = | |
− | + | |= | |
− | + | |#default = <td class="mbox-imageright"><div style="width: 52px;">{{{imageright}}}</div></td> | |
− | + | }}</tr></table> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | </tr> | ||
− | </table> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |