Jump to content

Template:TopBox: Difference between revisions

From UFOpaedia
Tvol (talk | contribs)
mNo edit summary
Tvol (talk | contribs)
mNo edit summary
Line 1: Line 1:
<!--CSS class definition missing--><!--
<!--CSS class definition missing--><!--
--><div class="topBox" id="topBox{{{id|}}}" style="text-align: center; vertical-align: center; background-color: {{{bgcolor|#425e70}}}; color:{{{textColor|white}}}; border: solid; border-color:{{{borderColor|#83c0ce}}}; border-width: 4px;"><!--
--><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|}}}<!--
-->{{ #if: {{{image|}}}<!--
     -->|<span id="topBoxImage" style="display: inline-block; padding: 10px 0px 10px 20px;"><!--
     -->|<span id="topBoxImage" style="display: inline-block; padding: 10px 0px 10px 20px;"><!--
Line 6: Line 6:
         --></span><!--
         --></span><!--
     -->|}}<!--
     -->|}}<!--
     --><span id="topBoxText"><!--
     --><span class="topBoxText" id="{{{id|}}}"><!--
         -->{{{text|default text}}}<!--
         -->{{{text|default text}}}<!--
     --></span><!--
     --></span><!--

Revision as of 05:10, 4 February 2017

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.