Difference between revisions of "Template:Ambox/core"
Jump to navigation
Jump to search
blackwiki>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.) |
blackwiki>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 --> | ||
Revision as of 16:21, 11 March 2009
| {{{text}}} |
| Template:Ambox/core is deprecated. Please use Template:Ambox instead. |
This is the former sub-template of {{Ambox}}.
| The above documentation is transcluded from Template:Ambox/core/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |