Difference between revisions of "Template:RBE10K TableRows"
Line 10: | Line 10: | ||
| {{#if:{{{9|}}} | style="width: {{explode:{{{widths}}}| |8}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 0 0 0; border-color: #{{{linecolour|000}}};"}} | {{#if:{{{9|}}} | {{#if:{{{header|}}}|'''''{{{9|}}}'''''|{{{9|}}}}} }} | | {{#if:{{{9|}}} | style="width: {{explode:{{{widths}}}| |8}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 0 0 0; border-color: #{{{linecolour|000}}};"}} | {{#if:{{{9|}}} | {{#if:{{{header|}}}|'''''{{{9|}}}'''''|{{{9|}}}}} }} | ||
|} | |} | ||
+ | |||
+ | {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|1=20|2=15|3=12|4=10}}}} => {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|1=80|2={{#if:{{{4|}}}|70|15}}|3=12|4=10}}}} => {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|x|{{{4|}}}|{{{5|}}}}}|2=70|3={{#if:{{{5|}}}|64|12}}|4=10}}}} |
Revision as of 18:03, 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 }} }} }} }} }} }} }} }} }}|1=20|2=15|3=12|4=10}}}}%; 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 }} }} }} }} }} }} }} }} }}|1=80|2={{#if:|70|15}}|3=12|4=10}}}}%; 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: x | | 2 | {{#ifeq: | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }} }}|2=70|3={{#if:|64|12}}|4=10}}}}%; 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: x | | 2 | {{#ifeq: x | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }} }}|3=64|4=10}}}}%; 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}}}| |4}}|60}}%; 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:|'''''|}} }} |
{{#if:|{{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 }} }} }} }} }} }} }} }}
}}|1=20|2=15|3=12|4=10}}}} => {{#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 }} }} }} }} }} }} }} }}
}}|1=80|2={{#if:|70|15}}|3=12|4=10}}}} => {{#if:|{{explode:{{{widths}}}| |2}}|{{#switch:{{#ifeq: x | | 0 |
{{#ifeq: x | | 1 | {{#ifeq: x | | 2 | {{#ifeq: | | 3 | {{#ifeq: | | 4 | {{#ifeq: | | 5 | {{#ifeq: | | 6 | {{#ifeq: | | 7 | {{#ifeq: | | 8 | 9 }} }} }} }} }} }} }} }}
}}|2=70|3={{#if:|64|12}}|4=10}}}}