(Styling and code formatting) |
(Now you can style rows) |
||
Line 1: | Line 1: | ||
<table class="infobox" style="border: 1px solid #aaa; border-spacing: 3px; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em"><!-- | <table class="infobox" style="border: 1px solid #aaa; border-spacing: 3px; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em"><!-- | ||
-->{{#if:{{{title|}}}|<caption>{{{title}}}</caption>}}<!-- | -->{{#if:{{{title|}}}|<caption>{{{title}}}</caption>}}<!-- | ||
-->{{#if:{{{above|}}}|<tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{above}}}</th></tr>}}<!--================ | -->{{#if:{{{above|}}}|<tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{above}}}</th></tr>}}<!-- | ||
================ | |||
Row 1 | Row 1 | ||
================ | ================ | ||
-->{{#if: {{{header1|}}}{{{data1|}}} | -->{{#if: {{{header1|}}}{{{data1|}}} | ||
|<tr>{{#if: {{{header1|}}}|<th colspan="2" style="text-align: center">{{{header1}}}</th> | |<tr{{#if: {{{rowstyle1|}}}|<nowiki> </nowiki>style="{{{rowstyle1}}}"}}>{{#if: {{{header1|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header1}}}</th> | ||
|{{#if: {{{label1|}}} | |{{#if: {{{label1|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label1}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data1}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data1}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data1}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 15: | Line 16: | ||
================ | ================ | ||
-->{{#if: {{{header2|}}}{{{data2|}}} | -->{{#if: {{{header2|}}}{{{data2|}}} | ||
|<tr>{{#if: {{{header2|}}}|<th colspan="2" style="text-align: center">{{{header2}}}</th> | |<tr{{#if: {{{rowstyle2|}}}|<nowiki> </nowiki>style="{{{rowstyle2}}}"}}>{{#if: {{{header2|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header2}}}</th> | ||
|{{#if: {{{label2|}}} | |{{#if: {{{label2|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label2}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data2}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data2}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data2}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 25: | Line 26: | ||
================ | ================ | ||
-->{{#if: {{{header3|}}}{{{data3|}}} | -->{{#if: {{{header3|}}}{{{data3|}}} | ||
|<tr>{{#if: {{{header3|}}}|<th colspan="2" style="text-align: center">{{{header3}}}</th> | |<tr{{#if: {{{rowstyle3|}}}|<nowiki> </nowiki>style="{{{rowstyle3}}}"}}>{{#if: {{{header3|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header3}}}</th> | ||
|{{#if: {{{label3|}}} | |{{#if: {{{label3|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label3}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data3}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data3}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data3}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 35: | Line 36: | ||
================ | ================ | ||
-->{{#if: {{{header4|}}}{{{data4|}}} | -->{{#if: {{{header4|}}}{{{data4|}}} | ||
|<tr>{{#if: {{{header4|}}}|<th colspan="2" style="text-align: center">{{{header4}}}</th> | |<tr{{#if: {{{rowstyle4|}}}|<nowiki> </nowiki>style="{{{rowstyle4}}}"}}>{{#if: {{{header4|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header4}}}</th> | ||
|{{#if: {{{label4|}}} | |{{#if: {{{label4|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label4}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data4}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data4}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data4}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 45: | Line 46: | ||
================ | ================ | ||
-->{{#if: {{{header5|}}}{{{data5|}}} | -->{{#if: {{{header5|}}}{{{data5|}}} | ||
|<tr>{{#if: {{{header5|}}}|<th colspan="2" style="text-align: center">{{{header5}}}</th> | |<tr{{#if: {{{rowstyle5|}}}|<nowiki> </nowiki>style="{{{rowstyle5}}}"}}>{{#if: {{{header5|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header5}}}</th> | ||
|{{#if: {{{label5|}}} | |{{#if: {{{label5|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label5}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data5}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data5}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data5}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 55: | Line 56: | ||
================ | ================ | ||
-->{{#if: {{{header6|}}}{{{data6|}}} | -->{{#if: {{{header6|}}}{{{data6|}}} | ||
|<tr>{{#if: {{{header6|}}}|<th colspan="2" style="text-align: center">{{{header6}}}</th> | |<tr{{#if: {{{rowstyle6|}}}|<nowiki> </nowiki>style="{{{rowstyle6}}}"}}>{{#if: {{{header6|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header6}}}</th> | ||
|{{#if: {{{label6|}}} | |{{#if: {{{label6|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label6}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data6}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data6}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data6}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 65: | Line 66: | ||
================ | ================ | ||
-->{{#if: {{{header7|}}}{{{data7|}}} | -->{{#if: {{{header7|}}}{{{data7|}}} | ||
|<tr>{{#if: {{{header7|}}}|<th colspan="2" style="text-align: center">{{{header7}}}</th> | |<tr{{#if: {{{rowstyle7|}}}|<nowiki> </nowiki>style="{{{rowstyle7}}}"}}>{{#if: {{{header7|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header7}}}</th> | ||
|{{#if: {{{label7|}}} | |{{#if: {{{label7|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label7}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data7}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data7}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data7}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 75: | Line 76: | ||
================ | ================ | ||
-->{{#if: {{{header8|}}}{{{data8|}}} | -->{{#if: {{{header8|}}}{{{data8|}}} | ||
|<tr>{{#if: {{{header8|}}}|<th colspan="2" style="text-align: center">{{{header8}}}</th> | |<tr{{#if: {{{rowstyle8|}}}|<nowiki> </nowiki>style="{{{rowstyle8}}}"}}>{{#if: {{{header8|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header8}}}</th> | ||
|{{#if: {{{label8|}}} | |{{#if: {{{label8|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label8}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data8}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data8}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data8}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 85: | Line 86: | ||
================ | ================ | ||
-->{{#if: {{{header9|}}}{{{data9|}}} | -->{{#if: {{{header9|}}}{{{data9|}}} | ||
|<tr>{{#if: {{{header9|}}}|<th colspan="2" style="text-align: center">{{{header9}}}</th> | |<tr{{#if: {{{rowstyle9|}}}|<nowiki> </nowiki>style="{{{rowstyle9}}}"}}>{{#if: {{{header9|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header9}}}</th> | ||
|{{#if: {{{label9|}}} | |{{#if: {{{label9|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label9}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data9}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data9}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data9}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
Line 95: | Line 96: | ||
================ | ================ | ||
-->{{#if: {{{header10|}}}{{{data10|}}} | -->{{#if: {{{header10|}}}{{{data10|}}} | ||
|<tr>{{#if: {{{header10|}}}|<th colspan="2" style="text-align: center">{{{header10}}}</th> | |<tr{{#if: {{{rowstyle10|}}}|<nowiki> </nowiki>style="{{{rowstyle10}}}"}}>{{#if: {{{header10|}}}|<th colspan="2" style="text-align: center;{{{headerstyle|}}}">{{{header10}}}</th> | ||
|{{#if: {{{label10|}}} | |{{#if: {{{label10|}}} | ||
|<th scope="row" style="text-align: left; vertical-align: top; | |<th scope="row" style="text-align: left; vertical-align: top;{{{labelstyle|}}}">{{{label10}}}</th><td style="text-align: left; vertical-align: top;{{{datastyle|}}}">{{{data10}}}</td> | ||
|<td colspan="2" style="text-align: center;">{{{data10}}}</td>}} | |<td colspan="2" style="text-align: center;{{{datastyle|}}}">{{{data10}}}</td>}} | ||
}}</tr> | }}</tr> | ||
}}<!-- | }}<!-- | ||
--></table> | --></table> |