(Added styles, removed tbody (not supported)) |
(Added first draft of row code) |
||
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 | |||
-->{{#if: {{{header1|}}}{{{data1|}}}|<tr>{{#if: {{{header1|}}}|<th colspan="2" style="text-align: center">{{{header1}}}</th>|{{#if: {{{label1|}}}|<th scope="row" style="width: 33%">{{{label1}}}</th><td>{{{data1}}}</td>|<td colspan="2" style="text-align: center">{{{data1}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 2 | |||
-->{{#if: {{{header2|}}}{{{data2|}}}|<tr>{{#if: {{{header2|}}}|<th colspan="2" style="text-align: center">{{{header2}}}</th>|{{#if: {{{label2|}}}|<th scope="row" style="width: 33%">{{{label2}}}</th><td>{{{data2}}}</td>|<td colspan="2" style="text-align: center">{{{data2}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 3 | |||
-->{{#if: {{{header3|}}}{{{data3|}}}|<tr>{{#if: {{{header3|}}}|<th colspan="2" style="text-align: center">{{{header3}}}</th>|{{#if: {{{label3|}}}|<th scope="row" style="width: 33%">{{{label3}}}</th><td>{{{data3}}}</td>|<td colspan="2" style="text-align: center">{{{data3}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 4 | |||
-->{{#if: {{{header4|}}}{{{data4|}}}|<tr>{{#if: {{{header4|}}}|<th colspan="2" style="text-align: center">{{{header4}}}</th>|{{#if: {{{label4|}}}|<th scope="row" style="width: 33%">{{{label4}}}</th><td>{{{data4}}}</td>|<td colspan="2" style="text-align: center">{{{data4}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 5 | |||
-->{{#if: {{{header5|}}}{{{data5|}}}|<tr>{{#if: {{{header5|}}}|<th colspan="2" style="text-align: center">{{{header5}}}</th>|{{#if: {{{label5|}}}|<th scope="row" style="width: 33%">{{{label5}}}</th><td>{{{data5}}}</td>|<td colspan="2" style="text-align: center">{{{data5}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 6 | |||
-->{{#if: {{{header6|}}}{{{data6|}}}|<tr>{{#if: {{{header6|}}}|<th colspan="2" style="text-align: center">{{{header6}}}</th>|{{#if: {{{label6|}}}|<th scope="row" style="width: 33%">{{{label6}}}</th><td>{{{data6}}}</td>|<td colspan="2" style="text-align: center">{{{data6}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 7 | |||
-->{{#if: {{{header7|}}}{{{data7|}}}|<tr>{{#if: {{{header7|}}}|<th colspan="2" style="text-align: center">{{{header7}}}</th>|{{#if: {{{label7|}}}|<th scope="row" style="width: 33%">{{{label7}}}</th><td>{{{data7}}}</td>|<td colspan="2" style="text-align: center">{{{data7}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 8 | |||
-->{{#if: {{{header8|}}}{{{data8|}}}|<tr>{{#if: {{{header8|}}}|<th colspan="2" style="text-align: center">{{{header8}}}</th>|{{#if: {{{label8|}}}|<th scope="row" style="width: 33%">{{{label8}}}</th><td>{{{data8}}}</td>|<td colspan="2" style="text-align: center">{{{data8}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 9 | |||
-->{{#if: {{{header9|}}}{{{data9|}}}|<tr>{{#if: {{{header9|}}}|<th colspan="2" style="text-align: center">{{{header9}}}</th>|{{#if: {{{label9|}}}|<th scope="row" style="width: 33%">{{{label9}}}</th><td>{{{data9}}}</td>|<td colspan="2" style="text-align: center">{{{data9}}}</td>}}}}</tr>}} | |||
<!-- | |||
Row 10 | |||
-->{{#if: {{{header10|}}}{{{data10|}}}|<tr>{{#if: {{{header10|}}}|<th colspan="2" style="text-align: center">{{{header10}}}</th>|{{#if: {{{label10|}}}|<th scope="row" style="width: 33%">{{{label10}}}</th><td>{{{data10}}}</td>|<td colspan="2" style="text-align: center">{{{data10}}}</td>}}}}</tr>}} | |||
</table> | </table> |