Difference between revisions of "Template:Infotable"

From WikiVet English
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>
+
<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;"|
{|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;"|__NOTOC__ __NOEDITSECTION__
 
 
{{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|}}}}}|}}
Line 13: Line 11:
 
|7={{if|1={{{subheading4|}}}|2={{subheading|1={{{subheading4colour|}}}|2={{{subheading4|}}}}}|3={{{empty|}}}}}
 
|7={{if|1={{{subheading4|}}}|2={{subheading|1={{{subheading4colour|}}}|2={{{subheading4|}}}}}|3={{{empty|}}}}}
 
|8={{if|1={{{subheading4|}}}|2={{subtext|1={{{subheading4width|}}}|2={{{subheading4text|}}}}}|3={{{empty|}}}}}}}}}|3={{{empty|}}}}}{{if|1={{{maintitle|}}}|2=|style="border:1px solid transparent"||3={{{empty|}}}}}
 
|8={{if|1={{{subheading4|}}}|2={{subtext|1={{{subheading4width|}}}|2={{{subheading4text|}}}}}|3={{{empty|}}}}}}}}}|3={{{empty|}}}}}{{if|1={{{maintitle|}}}|2=|style="border:1px solid transparent"||3={{{empty|}}}}}
{{if|1={{{Maintitle|}}}|2={{tableend}}|3={{{empty|}}}}}</includeonly><noinclude>
+
{{if|1={{{Maintitle|}}}|2={{tableend}}|3={{{empty|}}}}}__NOTOC__ __NOEDITSECTION__</includeonly><noinclude>
 
Colurs need to be in HEX format e.g. C1C1C1. A tables of colours and there HEX code can be found [http://www.december.com/html/spec/color.html here]
 
Colurs need to be in HEX format e.g. C1C1C1. A tables of colours and there HEX code can be found [http://www.december.com/html/spec/color.html here]
 
  <nowiki>{{</nowiki>infotable
 
  <nowiki>{{</nowiki>infotable

Latest revision as of 17:21, 19 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 =
}}