Difference between revisions of "Template:RBE10K TableRows"
From MediaWiki
(Table Row for any number of cells between 2 and 9) |
|||
Line 1: | Line 1: | ||
{| style="margin: 0px auto; border: 1px solid #{{{linecolour|000}}}; padding: 0; border-collapse: separate; border-spacing: 0; border-top: 0px; " width="99%" | {| style="margin: 0px auto; border: 1px solid #{{{linecolour|000}}}; padding: 0; border-collapse: separate; border-spacing: 0; border-top: 0px; " width="99%" | ||
| style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 1px 0 0; border-color: #{{{linecolour|000}}}; background-color: #{{{bgcolour1|bbbbff}}};" | {{#if:{{{header|}}}|'''''{{{1|}}}'''''|{{{1|}}}}} | | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 1px 0 0; border-color: #{{{linecolour|000}}}; background-color: #{{{bgcolour1|bbbbff}}};" | {{#if:{{{header|}}}|'''''{{{1|}}}'''''|{{{1|}}}}} | ||
− | | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2={{#if:{{{4|}}}|15|80}}|3={{#if:{{{5|}}}|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{3|}}}|0|1}}px 0 0; border-color: #{{{linecolour|000}}};" | {{#if:{{{header|}}}|'''''{{{2|}}}'''''|{{{2|}}}}} | + | | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2={{#if:{{{4|}}}|15|80}}}}|3={{#if:{{{5|}}}|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{3|}}}|0|1}}px 0 0; border-color: #{{{linecolour|000}}};" | {{#if:{{{header|}}}|'''''{{{2|}}}'''''|{{{2|}}}}} |
| {{#if:{{{3|}}} | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2={{#if:{{{4|}}}|15|80}}|3={{#if:{{{5|}}}|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{4|}}}|0|1}}px 0 0; border-color: #{{{linecolour|000}}};"}} | {{#if:{{{3|}}} | {{#if:{{{header|}}}|'''''{{{3|}}}'''''|{{{3|}}}}} }} | | {{#if:{{{3|}}} | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2={{#if:{{{4|}}}|15|80}}|3={{#if:{{{5|}}}|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{4|}}}|0|1}}px 0 0; border-color: #{{{linecolour|000}}};"}} | {{#if:{{{3|}}} | {{#if:{{{header|}}}|'''''{{{3|}}}'''''|{{{3|}}}}} }} | ||
| {{#if:{{{4|}}} | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |3}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2={{#if:{{{4|}}}|15|80}}|3={{#if:{{{5|}}}|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{5|}}}|0|1}}px 0 0; border-color: #{{{linecolour|000}}};"}} | {{#if:{{{4|}}} | {{#if:{{{header|}}}|'''''{{{4|}}}'''''|{{{4|}}}}} }} | | {{#if:{{{4|}}} | style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |3}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2={{#if:{{{4|}}}|15|80}}|3={{#if:{{{5|}}}|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{5|}}}|0|1}}px 0 0; border-color: #{{{linecolour|000}}};"}} | {{#if:{{{4|}}} | {{#if:{{{header|}}}|'''''{{{4|}}}'''''|{{{4|}}}}} }} |
Revision as of 17:30, 5 March 2013
{{explode:{{{widths}}}| |0}}|{{#switch:{{#ifeq: x | | 0 |
{{#ifeq: x | | 1 | {{#ifeq: | | 2 | {{#ifeq: | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }} }}|2=20|3=15|4=12}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px 1px 0 0; border-color: #000; background-color: #bbbbff;" | {{#if:|'''''|}} |
{{explode:{{{widths}}}| |1}}|{{#switch:{{#ifeq: x | | 0 |
{{#ifeq: x | | 1 | {{#ifeq: | | 2 | {{#ifeq: | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }} }}|2={{#if:|15|80}}}}|3={{#if:|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;" | {{#if:|'''''|}} |
style="width: {{#if:|{{explode:{{{widths}}}| |2}}|{{#switch:{{#ifeq: x | | 0 |
{{#ifeq: x | | 1 | {{#ifeq: | | 2 | {{#ifeq: | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }} }}|2={{#if:|15|80}}|3={{#if:|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} |
style="width: {{#if:|{{explode:{{{widths}}}| |3}}|{{#switch:{{#ifeq: x | | 0 |
{{#ifeq: x | | 1 | {{#ifeq: | | 2 | {{#ifeq: | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }} }}|2={{#if:|15|80}}|3={{#if:|12|70}}|4=64}}}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} |
style="width: {{explode:{{{widths}}}| |4}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} | style="width: {{explode:{{{widths}}}| |5}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} | style="width: {{explode:{{{widths}}}| |6}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} | style="width: {{explode:{{{widths}}}| |7}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px {{#if:|0|1}}px 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} | style="width: {{explode:{{{widths}}}| |8}}%; vertical-align:top; border-style: solid; border-width: {{#if:|1|0}}px 0 0 0; border-color: #000;"}} | {{#if: | {{#if:|'''''|}} }} |