Difference between revisions of "Template:TopBox"

From UFOpaedia
Jump to navigation Jump to search
m
m
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;"
 
{| 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;"
 
|- style="vertical-align: middle;"
 
|- style="vertical-align: middle;"
| id="topBoxImage-{{{id|}}}" style="width: 32%; border: none; text-align: right;" | [[File:{{{image|XCOM2 Inv Block.png}}}|{{{size|100px}}}|{{{caption|No Image}}}]]
+
| id="topBoxImage-{{{id|}}}" style="width: 32%; border: none; text-align: right; padding: 10px;" | [[File:{{{image|XCOM2 POI.png}}}|{{{size|100px}}}|{{{caption|No Image}}}]]
 
| id="topBoxText-{{{id|}}}" style="width: 68%; border: none; text-align: left;" | {{{text|default text}}}<br /><small>{{{altText|}}}</small>
 
| id="topBoxText-{{{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 18:02, 16 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.