Template:Tmbox/core: Difference between revisions

add style="vertical-align:middle"
(add styles direct to Tmbox/core - not included in MediaWiki:Common.css)
(add style="vertical-align:middle")
Line 12: Line 12:
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
| <!-- 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>
| <!-- 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" style="vertical-align:middle">
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
   | {{{image}}}
   | {{{image}}}
90,866

edits