Difference between revisions of "Template:Ombox"
Jump to navigation
Jump to search
en>Happy-melon m (Reverted edits by Happy-melon (talk) to last version by Davidgothberg) |
en>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 12: | Line 12: | ||
<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="ombox-image"> | | <td class="ombox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
Revision as of 16:29, 14 September 2008
{{#ifeq:|none
|
|
}}
{{#if:
|}}
{{#if:
| {{{image}}}
| {{#switch:
| speedy = 40x40px
| delete = 40x40px
| content = 40x40px
| style = 40x40px
| move = 40x40px
| protection = 40x40px
| notice
| #default = 40x40px
}}
}} | {{{text}}} | {{{imageright}}} |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |