Difference between revisions of "Template:Infotable"

From WikiVet English
Jump to navigation Jump to search
m
m
Line 4: Line 4:
 
{|width="100%" cellpadding="3" cellspacing="5" style="vertical-align:top; background:#f5fffa;"
 
{|width="100%" cellpadding="3" cellspacing="5" style="vertical-align:top; background:#f5fffa;"
 
! <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>
 
! <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>
|-valign="top"
+
|-
 
|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|}}}}}|}

Revision as of 10:47, 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 =
}}