“模板:Ambox/core”的版本间的差异
< 模板:Ambox
BallanceBug(讨论 | 贡献) (2个标签:移动版编辑、移动网页编辑) |
BallanceBug(讨论 | 贡献) (修改图片链接,撤销BallanceBug(讨论)的版本1597) (1个标签:撤销) |
||
第1行: | 第1行: | ||
− | <table class="metadata plainlinks ambox"> | + | <table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"> |
<tr>{{#switch:{{{image|}}} | <tr>{{#switch:{{{image|}}} | ||
|blank | |blank | ||
第6行: | 第6行: | ||
|{{{image}}} | |{{{image}}} | ||
|[[File:{{#switch:{{{type|}}} | |[[File:{{#switch:{{{type|}}} | ||
− | |speedy = Ambox | + | |speedy = Ambox deletion.png |
|delete = Ambox deletion.png | |delete = Ambox deletion.png | ||
|content = Ambox content.png | |content = Ambox content.png | ||
− | |style = | + | |style = EditClear.png |
|move = Ambox move.png | |move = Ambox move.png | ||
|protection = Ambox protection.png | |protection = Ambox protection.png | ||
− | |notice|#default = | + | |notice|#default = AmboxNotice.png |
− | }}| | + | }}|40x40px|link=|alt=]] |
}}</div></td> | }}</div></td> | ||
− | }}<td class="mbox-text"><span class="mbox-text-span">{{{issue|}}}{{#if:{{{date|}}} | + | }}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}{{#if:{{{date|}}} |
|<small>''({{{date}}})''</small> | |<small>''({{{date}}})''</small> | ||
− | }}<span class="hide-when-compact"> {{{info|}}}</span></span></td> | + | }}<span class="hide-when-compact"> {{#if:{{{talk|}}} |
− | </tr></table> | + | |{{#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> |