Template:Cmbox: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(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))
Line 12: Line 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|}}}

Revision as of 20:52, May 21, 2009