Difference between revisions of "Template:TopBox"

From UFOpaedia
Jump to navigation Jump to search
(Refactor to use a table instead of floating elements.)
(Move things a bit left.)
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;"
 
{| 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;"
 
|- 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: 32%; 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>
+
| id="{{{id|}}}" style="width: 68%; border: none; text-align: left;" | {{{text|default text}}}<br /><small>{{{altText|}}}</small>
 
|}<includeonly>{{{categories|}}}</includeonly><noinclude>
 
|}<includeonly>{{{categories|}}}</includeonly><noinclude>
  

Revision as of 14:55, 4 February 2017

No Image default text


[edit · purge]
Template documentation(for the template shown above, sometimes hidden or invisible)
== 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.