Difference between revisions of "Template:TopBox"
Jump to navigation
Jump to search
m (support for altText) |
(Refactor to use a table instead of floating elements.) |
||
Line 1: | Line 1: | ||
− | + | {| class="wikitable" id="{{{id|}}}" style="border: solid 4px {{{borderColor|#83c0ce}}}; color:{{{textColor|#83c0ce}}}; text-align: center; background-color:{{{bgColor|#425e70}}}; width: 100%; clear: both;" | |
− | + | |- style="vertical-align: middle;" | |
− | -- | + | | id="{{{id|}}}" style="width: 45%; border: none; text-align: right;" | [[File:{{{image|XCOM2 Inv Block.png}}}|100px|{{{caption|No Image}}}]] |
− | + | | id="{{{id|}}}" style="width: 55%; border: none; text-align: left;" | {{{text|default text}}}<br /><small>{{{altText|}}}</small> | |
− | + | |}<includeonly>{{{categories|}}}</includeonly><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 14:54, 4 February 2017
default text |
== Skeleton ==
{{TopBox | id = | textColor = | bgColor = | borderColor = | image = | caption = | text = | altText = | categories = }}
id
: Text to append to CSS id of the parent div of the topBox. This must not contain any spaces or special characters. UseCamelCase starting with a capital letter.Documentation transcluded from Template:TopBox/doc.