Vorlage:Cmbox: Unterschied zwischen den Versionen
add mbox-empty-cell class (hardcoded style to be removed june 12)
imported>Davidgothberg (Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.) |
(add mbox-empty-cell class (hardcoded style to be removed june 12)) |
||
Zeile 12: | Zeile 12: | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td> | ||
| <td class="mbox-image"> | | <td class="mbox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} |