틀:Imbox: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
(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)) |
||
14번째 줄: | 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|}}} |