Difference between revisions of "Template:Infotable"
Jump to navigation
Jump to search
m |
|||
(36 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|style="margin:0px 0px 0px 0px; background:none;"|class="MainPageBG" style="width: | + | <includeonly>__NOTOC__ |
− | { | + | {|style="margin:0px 0px 0px 0px; background:none;" |
− | + | |class="MainPageBG" style="width:100%; border:1px solid #cedff2; background:#f5fffa; vertical-align:top; 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 | + | {|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> | ||
+ | |- | ||
+ | |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|}}}}}|} | ||
+ | {{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|}}}}} | ||
Line 10: | Line 15: | ||
|6={{if|1={{{subheading3|}}}|2={{subtext|1={{{subheading3width|}}}|2={{{subheading3text|}}}}}|3={{{empty|}}}}} | |6={{if|1={{{subheading3|}}}|2={{subtext|1={{{subheading3width|}}}|2={{{subheading3text|}}}}}|3={{{empty|}}}}} | ||
|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|}}}}} | + | |8={{if|1={{{subheading4|}}}|2={{subtext|1={{{subheading4width|}}}|2={{{subheading4text|}}}}}|3={{{empty|}}}}}}}}} |
− | + | |3={{{empty|}}}}} | |
+ | |style="border:1px solid transparent"| | ||
+ | |} | ||
+ | </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 | ||
|Maintitle = | |Maintitle = | ||
|Maintitlebackcolour = | |Maintitlebackcolour = | ||
− | |||
|Body = | |Body = | ||
|subheading1colour = | |subheading1colour = |
Revision as of 10:33, 11 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 = }}