Template:Ambox: Difference between revisions

fix - all table cells take mbox-.... classes; not the primary table tag's class
(refresh)
(fix - all table cells take mbox-.... classes; not the primary table tag's class)
Line 1:
<table style="{{{style|}}}" class="metadata plainlinks messagebox ambox {{#switch:{{{type|}}}
| delete = ambox-delete
| serious = ambox-serious
| content = ambox-content
Line 8 ⟶ 9:
}}">
<tr>
<td class="amboxmbox-image">
{{#ifeq:{{{image}}}|none
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
Line 22 ⟶ 23:
}}</div>
}}</td>
<td class="amboxmbox-text">{{{text}}}{{#if:{{{lang|}}}|
<hr />
{{{{{lang|}}}}}}}</td>
{{#if:{{{imageright|}}}|
<td class="amboxmbox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
</tr>