Difference between revisions of "Template:TopBox"
Jump to navigation
Jump to search
m (support for altText) |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {| class="wikitable" id="topBoxTable-{{{id|}}}" style="border: solid 4px {{{borderColor|#83c0ce}}}; color:{{{textColor|#83c0ce}}}; text-align: center; background-color:{{{bgColor|#425e70}}}; width: 100%; clear: both;" |
||
− | <!--CSS class definition missing--><!-- |
||
+ | |- style="vertical-align: middle;" |
||
− | --><div class="topBox" id="{{{id|}}}" style="text-align: center; vertical-align: center; background-color: {{{bgColor|#425e70}}}; color:{{{textColor|white}}}; border: solid; border-color:{{{borderColor|#83c0ce}}}; border-width: 4px;"><!-- |
||
⚫ | |||
− | -->{{ #if: {{{image|}}}<!-- |
||
+ | | id="topBoxText-{{{id|}}}" style="width: 68%; border: none; text-align: left;" | {{{text|default text}}}<br /><small>{{{altText|}}}</small> |
||
− | -->|<span class="topBoxImage" id="{{{id|}}}" style="display: inline-block; padding: 10px 0px 10px 20px;"><!-- |
||
⚫ | |||
⚫ | |||
− | --></span><!-- |
||
− | -->|}}<!-- |
||
− | --><span class="topBoxText" id="{{{id|}}}"><!-- |
||
− | -->{{{text|default text}}}{{ #if: {{{ altText |}}} | <br />''{{{altText|}}}'' |}}<!-- |
||
− | --></span><!-- |
||
⚫ | |||
Latest revision as of 19:03, 16 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.