Difference between revisions of "Template:Ambox"
From Self-sufficiency
(Oops, how embarrassing, I had left a line break in the category name. Fixed.) |
(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 |
Revision as of 17:23, 14 September 2008
{{{text}}} |
[edit]
Documentation