Шаблон:Ambox — различия между версиями
м |
м |
||
| Строка 1: | Строка 1: | ||
| − | {{ | + | <table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}" role="presentation"> |
| + | <tr>{{#switch:{{{image|}}} | ||
| + | |blank | ||
| + | |none = <td class="mbox-empty-cell"></td> | ||
| + | |#default = <td class="mbox-image"><div style="width: 52px;">{{#if:{{{image|}}} | ||
| + | |{{{image}}} | ||
| + | | | ||
| + | }}</div></td> | ||
| + | }}<td class="mbox-text" style="{{{textstyle|}}}"><span class="mbox-text-span">{{{issue|}}}<span class="hide-when-compact"> {{#if:{{{talk|}}} | ||
| + | |{{#ifexist:{{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | ||
| + | |{{{talk}}} | ||
| + | |{{TALKPAGENAME}} | ||
| + | }} | ||
| + | | Relevant discussion may be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}} | ||
| + | |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]] | ||
| + | |the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]] | ||
| + | }}. | ||
| + | }} | ||
| + | }} {{{fix|}}}</span>{{#if:{{{date|}}} | ||
| + | | <small>''({{{date}}})''</small> | ||
| + | }}<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> | ||