Difference between revisions of "Template:Infotable"

From WikiVet English
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{|style="margin:0px 0px 0px 0px; background:none;"
+
<includeonly>{|style="margin:0px 0px 0px 0px; background:none;"|class="MainPageBG" style="width:{{{Mainwidth|100%}}}; border:1px solid #{{{Border|cedff2}}}; background:#{{{Backcolour|f5fffa}}}; vertical-align:top; color:#000;"|
|class="MainPageBG" style="width:{{{Mainwidth|100%}}}; border:1px solid #{{{Border|cedff2}}}; background:#{{{Backcolour|f5fffa}}}; vertical-align:top; color:#000;"|
 
 
{{if|1={{{Maintitle|}}}|2={{Mainheader|1={{{Maintitlebackcolour}}}|2={{{Maintitle|}}}}}|3={{{empty|}}}}}
 
{{if|1={{{Maintitle|}}}|2={{Mainheader|1={{{Maintitlebackcolour}}}|2={{{Maintitle|}}}}}|3={{{empty|}}}}}
 
{{#if: {{{Body|}}} | {{Headerbody|Bodyalign={{{Bodyalign|}}}|Body={{{Body|}}}}}|}}
 
{{#if: {{{Body|}}} | {{Headerbody|Bodyalign={{{Bodyalign|}}}|Body={{{Body|}}}}}|}}

Revision as of 19:44, 17 September 2010

Colurs need to be in HEX format e.g. C1C1C1. A tables of colours and there HEX code can be found here

{{infotable
|Maintitle = 
|Maintitlebackcolour = 
|Mainwidth =
|Body =
|subheading1colour =
|subheading1 =
|subheading1width =
|subheading1text =
|subheading2colour =
|subheading2 =
|subheading2width =
|subheading2text =
|subheading3colour =
|subheading3 =
|subheading3width =
|subheading3text =
|subheading4colour =
|subheading4 =
|subheading4width =
|subheading4text =
}}