Difference between revisions of "Template:Ambox"
From Pandora Wiki
(Created page with "<table class="metadata plainlinks ambox {{#switch:{{{small|}}} | left = mbox-small-left }} " style="{{{style|}}} margin: 0px 10%;border: 1px #aaa solid;{{#if:{{{stacked|}}}|borde...") |
(workaround for no images) |
||
Line 12: | Line 12: | ||
| #default = #1e90ff solid;background-color: #fbfbfb;"><tr> | | #default = #1e90ff solid;background-color: #fbfbfb;"><tr> | ||
}} | }} | ||
− | {{#switch:{{{ | + | {{#switch:{{{lol|}}} |
| blank <!-- Fall back to "none", since deprecated. --> | | blank <!-- Fall back to "none", since deprecated. --> | ||
| none = <td class="mbox-empty-cell" style="border: none;padding: 0px;width 1px;"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | | none = <td class="mbox-empty-cell" style="border: none;padding: 0px;width 1px;"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | ||
Line 21: | Line 21: | ||
| #default = <div style="width: 52px;"> | | #default = <div style="width: 52px;"> | ||
}} | }} | ||
− | + | {{#switch:{{{small|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| left = <!-- Don't use the /DIV --> | | left = <!-- Don't use the /DIV --> | ||
| #default = </div> | | #default = </div> |