Template:Bmbox: Difference between revisions
Content deleted Content added
Planned fixes: Using new CSS class names (deployed for 30 days now). Fixing the empty "image=" parameter bug and the padding for the image=none case. And some other cleanup. (Tested in sandbox.) |
|||
Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
| serious = ambox-serious
|
}}">▼
▲| merge = ambox-move
<tr>
{{#ifeq:{{{image
| <!--
▲| <td class="ambox-image"><div style="width: 52px;">
| <div style="width:52px;"> {{#
| serious = [[Image:Stop hand nuvola.svg|40px]]
| {{#if:{{{image|}}}▼
| blank = [[Image:No image.svg]]
▲ | content = [[Image:Ambox content.png|40x40px]]
}}</td>
▲ | style = [[Image:Ambox style.png|40x40px]]
▲ | merge = [[Image:Ambox move.png|40x40px]]
▲ }}</div></td>
▲}}
▲<td class="ambox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
▲| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td>
}}
</tr>
</table>
<noinclude> [[mk:Шаблон:Ambox]]
</noinclude>
|