Template:Bmbox: Difference between revisions
From BetaArchive Wiki
en.wikibooks>Davidgothberg (Oops, how embarrassing, I had left a line break in the category name. Fixed.) |
en.wikibooks>Davidgothberg (Decreasing the empty left image cell from a total of 3px width to 1px width. Can't be 0px since then boxes who are not filled with text don't stay 80% wide.) |
||
Line 14: | Line 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: 1px;"></td> | | <!-- 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> | ||
| <td class="ambox-image"><div style="width: 52px;"> | | <td class="ambox-image"><div style="width: 52px;"> | ||
{{#ifeq:{{{image|}}}|blank | {{#ifeq:{{{image|}}}|blank |