Difference between revisions of "Template:Infotable"

From WikiVet English
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
{|style="margin:0px 0px 0px 0px; background:none;"
 
{|style="margin:0px 0px 0px 0px; background:none;"
 
|class="MainPageBG" style="width:100%; border:1px solid #cedff2; background:#f5fffa; vertical-align:top; color:#000;"|
 
|class="MainPageBG" style="width:100%; border:1px solid #cedff2; background:#f5fffa; vertical-align:top; color:#000;"|
{|width="100%" cellpadding="3" cellspacing="5" style="vertical-align:top; background:#f5fffa;"
+
{{if|1={{{Maintitle|}}}|2={{Mainheader|1={{{Maintitlebackcolour}}}|2={{{Maintitle|}}}}}
! <h2 style="margin:0; background:#{{{Maintitlebackcolour}}}; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:center; color:#000; padding:0.2em 0.4em;">{{{Maintitle|}}}</h2>
+
|3={{{empty|}}}}}
|-
 
 
|style="color:#000;"| <div style="text-align:center;">{{{Body|}}}</div>
 
|style="color:#000;"| <div style="text-align: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|}}}}}|}
 
<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|}}}}}|}
Line 17: Line 16:
 
|8={{if|1={{{subheading4|}}}|2={{subtext|1={{{subheading4width|}}}|2={{{subheading4text|}}}}}|3={{{empty|}}}}}}}}}
 
|8={{if|1={{{subheading4|}}}|2={{subtext|1={{{subheading4width|}}}|2={{{subheading4text|}}}}}|3={{{empty|}}}}}}}}}
 
|3={{{empty|}}}}}
 
|3={{{empty|}}}}}
|style="border:1px solid transparent"|
+
{{if|1{{{maintitle|}}}|2=|style="border:1px solid transparent"||}|3={{{empty|}}}}}
|}
+
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 11:01, 15 July 2008


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 = 
|Body =
|subheading1colour =
|subheading1 =
|subheading1width =
|subheading1text =
|subheading2colour =
|subheading2 =
|subheading2width =
|subheading2text =
|subheading3colour =
|subheading3 =
|subheading3width =
|subheading3text =
|subheading4colour =
|subheading4 =
|subheading4width =
|subheading4text =
}}