"साँचा:Cmbox": अवतरणों में अंतर
Content deleted Content added
Fixing the empty "image=" parameter bug. Dropping the "image=blank" option. (Tested in sandbox.) |
Giving the "image=none" case more correct handling, the empty cell now much thinner giving the text less left padding. |
||
पंक्ति ११:
}} {{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image
| <td style="border: none; padding: 2px 0px 2px 0.5em; text-align: center;"><div style="width: 52px;">
{{#if:{{{image|}}}
| {{{image}}}
Line २७ ⟶ २६:
| #default = [[Image:Cmbox notice.png|40x40px]]
}}
}}</div></td>
}}
<td style="border: none; padding: 0.25em 0.5em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
}}
</tr>
|