Template:RBE10K TableRows
From MediaWiki
{{#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|5=10}}}}%; 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=80|3={{#if:|70|15}}|4=12|5=10}}}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;" | {{#if:|'''''|}} |
-|padding: 2px 3px; 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 }} }} }} }} }} }} }} }} }}|3=70|4={{#if:|64|12}}|5=10}}}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} |
-|padding: 2px 3px; 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 }} }} }} }} }} }} }} }} }}|4=64|5=10}}}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} |
-|padding: 2px 3px; width: {{#if:|{{#explode:{{{widths}}}| |4}}|60}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} | -|padding: 2px 3px; width: {{#explode:{{{widths}}}| |5}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} | -|padding: 2px 3px; width: {{#explode:{{{widths}}}| |6}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} | -|padding: 2px 3px; width: {{#explode:{{{widths}}}| |7}}%; border-width: {{#if:|1|0}}px {{#if:|1|0}}px 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} | -|padding: 2px 3px; width: {{#explode:{{{widths}}}| |8}}%; border-width: {{#if:|1|0}}px 0 0 0; border-color: #000;|display:none;}}" | {{#if: | {{#if:|'''''|}} }} |