Template:Cmbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.
meta>TheDJ
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, 21 May 2009