“模板:Ambox/core”的版本间的差异
< 模板:Ambox
BearKidsTeam(讨论 | 贡献) (创建页面,内容为“<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"> <tr>{{#switch:{{{image|}}} |blank |none = <td class="mbox-empty-cell"></td> |#default…”) |
BallanceBug(讨论 | 贡献) 小 (2个标签:移动版编辑、移动网页编辑) |
||
(未显示2个用户的15个中间版本) | |||
第1行: | 第1行: | ||
− | <table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}"> | + | <div style="margin: 0 8%"><table class="metadata plainlinks ambox {{{class|}}}" style="box-sizing: border-box; min-width: 100%; background: #f7f8f9; border: 1px solid #828991; margin: 0 auto; border-collapse: collapse; box-shadow: 0 1.25px 3.75px rgba(0, 0, 0, 0.12), 0 1.25px 2.5px rgba(0, 0, 0, 0.24); {{{style|}}}"> |
− | <tr>{{#switch:{{{ | + | <tr><td style="min-width: 9px; width: 9px; min-height: 72px; background: {{#switch:{{{type|}}} |
− | + | |speedy = #b32424 | |
− | + | |delete = #b32424 | |
− | + | |content = #f28500 | |
− | |{{{image}}} | + | |style = #fc3 |
− | |[[File:{{#switch:{{{type|}}} | + | |move = #9932cc |
− | |speedy = Ambox | + | |protection = #a2a9b1 |
+ | |notice|#default = #36c | ||
+ | }}" rowspan="2"></td>{{#if:{{{image|}}} | ||
+ | |<td style="width: 40px; padding: 2px 6px 2px 12px; min-height: 72px" rowspan="2">{{{image}}}</td> | ||
+ | |<td style="width: 40px; padding: 2px 6px 2px 12px; min-height: 72px" rowspan="2">[[File:{{#switch:{{{type|}}} | ||
+ | |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=]] | }}|40x40px|link=|alt=]] | ||
− | }} | + | }}</td> |
− | + | <th class="mbox-text" style="text-align: left; padding: 10px 4px 1px 9px; font: bold 15px Arial, sans-serif; line-height: 21px; color: #222; {{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}{{#if:{{{date|}}} | |
|<small>''({{{date}}})''</small> | |<small>''({{{date}}})''</small> | ||
− | }}<span class="hide-when-compact"> {{#if:{{{talk|}}} | + | }}</th>{{#switch:{{{imageright|}}} |
+ | |none = | ||
+ | |= | ||
+ | |#default = <td class="mbox-imageright" rowspan="2"><div style="width: 52px">{{{imageright}}}</div></td> | ||
+ | }}</tr><tr><td class="mbox-text" style="font-size: 13.5px; color: #222; padding: 1px 11.2px 10px 11px; line-height: 18px; {{{textstyle|}}}"><span class="hide-when-compact"> {{#if:{{{talk|}}} | ||
|{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | |{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | ||
|{{{talk}}} | |{{{talk}}} | ||
|{{TALKPAGENAME}} | |{{TALKPAGENAME}} | ||
}} | }} | ||
− | |  | + | | 相关讨论可见于{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} |
|[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]] | |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]] | ||
− | |[[{{TALKPAGENAME}}#{{{talk}}}| | + | |[[{{TALKPAGENAME}}#{{{talk}}}|讨论页]] |
}}. | }}. | ||
− | }} | + | <br>}} |
− | }}{{#ifeq:{{{fix|}}}|-{zh;zh-hans;zh-hant{{!}} }-|| | + | }}{{#ifeq:{{{fix|}}}|-{zh;zh-hans;zh-hant{{!}} }-||<small>{{{fix|}}}</small>}}</span><span class="hide-when-compact"> {{{info|}}}</span></span></td></tr></table></div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |