Template:Ambox: Difference between revisions

m Removed image if there is none when size is small
mNo edit summary
Line 11: Line 11:
}}">
}}">
<tr>
<tr>
{{#if: !{{image|}}|{{#if: !{{{small|}}}||<td class="ambox-image">{{{image|[[File:InterdictMsgAlert.jpg|x80px]]}}}</td>}}}}
{{#if: {{{small|}}}|{{#if: {{{image|}}}|<td class="ambox-image">{{{image|}}}</td>}}|<td class="ambox-image">{{{image|[[File:InterdictMsgAlert.jpg|x80px]]}}}</td>}}
<td style="color: black; padding: 0.25em 0.5em;">{{{type|}}}
<td style="color: black; padding: 0.25em 0.5em;">{{{type|}}}
<div class="ambox-smalltext">
<div class="ambox-smalltext">