Difference between revisions of "Template:Infotable"

From WikiVet English
Jump to navigation Jump to search
Line 3: Line 3:
 
|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|}}}}}
|style="color:#000;"|<div style="text-align:{{{Bodyalign|center}}};">{{{Body|}}}</div><noinclude>{{{Sublist|}}}{{{subheading1colour|}}}{{{subheading1|}}}{{{subheading1width|}}}{{{subheading1text|}}}{{{subheading2colour|}}}{{{subheading2}}}{{{subheading2width|}}}{{{subheading2text|}}}{{{subheading3colour|}}}{{{subheading3|}}}{{{subheading3width|}}}{{{subheading3text|}}}{{{subheading4colour|}}}{{{subheading4|}}}{{{subheading4width|}}}{{{subheading4text|}}}</noinclude>{{if|1={{{Sublist|}}}|2={{Subheading|1={{{Sublist|}}}}}|3={{{empty|}}}}}|}{{if|1={{{subheading1|}}}|2={{sub|1={{blend
+
|style="color:#000;"|
 +
<noinclude>{{{Sublist|}}}{{{subheading1colour|}}}{{{subheading1|}}}{{{subheading1width|}}}{{{subheading1text|}}}{{{subheading2colour|}}}{{{subheading2}}}{{{subheading2width|}}}{{{subheading2text|}}}{{{subheading3colour|}}}{{{subheading3|}}}{{{subheading3width|}}}{{{subheading3text|}}}{{{subheading4colour|}}}{{{subheading4|}}}{{{subheading4width|}}}{{{subheading4text|}}}</noinclude>{{if|1={{{Sublist|}}}|2={{Subheading|1={{{Sublist|}}}}}|3={{{empty|}}}}}|}{{if|1={{{subheading1|}}}|2={{sub|1={{blend
 
|1={{if|1={{{subheading1|}}}|2={{subheading|1={{{subheading1colour|}}}|2={{{subheading1|}}}}}|3={{{empty|}}}}}
 
|1={{if|1={{{subheading1|}}}|2={{subheading|1={{{subheading1colour|}}}|2={{{subheading1|}}}}}|3={{{empty|}}}}}
 
|2={{if|1={{{subheading1|}}}|2={{subtext|1={{{subheading1width|}}}|2={{{subheading1text|}}}}}|3={{{empty|}}}}}
 
|2={{if|1={{{subheading1|}}}|2={{subtext|1={{{subheading1width|}}}|2={{{subheading1text|}}}}}|3={{{empty|}}}}}

Revision as of 13:11, 12 June 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 =
}}