Template:Imbox: Difference between revisions
From All Skies Encyclopaedia
imported>Davidgothberg Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}. |
imported>TheDJ add mbox-empty-cell class (hardcoded style to be removed june 12) |
||
| Line 14: | Line 14: | ||
<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|}}} | ||






