en.wikibooks>Davidgothberg (The old ambox has the same padding problem with an inserted {{shortcut}}, so it is probably a problem with shortcut's "float". Reverting to version (05:05) with simplified imageright code.) |
en.wikibooks>Davidgothberg (Adding class="mbox-empty-cell" so Happy‑melon can tinker with the empty cell padding in the [hide/show] code.) |
||
Line 15: | Line 15: | ||
<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">{{#switch:{{{small|}}} | | <td class="mbox-image">{{#switch:{{{small|}}} | ||
| left = <!-- Don't use the DIV --> | | left = <!-- Don't use the DIV --> |