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...") |
(removed "ambox derived works" which is a dead link) |
||
(2 intermediate revisions by one other user not shown) | |||
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> | ||
Line 43: | Line 27: | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}} border: none;padding: 0.25em 0.9em;width: 100%;text-align: center;"> {{{text}}} </td> | <td class="mbox-text" style="{{{textstyle|}}} border: none;padding: 0.25em 0.9em;width: 100%;text-align: center;"> {{{text}}} </td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
<noinclude> | <noinclude> |