Difference between revisions of "Template:RBE10K TableRows"
From The Crowdsourced Resource-Based Economy Knowledgebase
Line 10: | Line 10: | ||
| style="{{#ifeq:{{{9|}}}|{{{9|-}}}|padding: 2px 3px; width: {{#explode:{{{widths}}}| |8}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 0 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{9|}}} | {{#if:{{{header|}}}|'''''{{{9|}}}'''''|{{{9|}}}}} }} | | style="{{#ifeq:{{{9|}}}|{{{9|-}}}|padding: 2px 3px; width: {{#explode:{{{widths}}}| |8}}%; vertical-align:top; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 0 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{9|}}} | {{#if:{{{header|}}}|'''''{{{9|}}}'''''|{{{9|}}}}} }} | ||
|} | |} | ||
+ | {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12|5=10}}}}% => {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=80|3={{#if:{{{4|}}}|70|15}}|4=12|5=10}}}}% => {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|x|{{{4|}}}|{{{5|}}}}}|3=70|4={{#if:{{{5|}}}|64|12}}|5=10}}}}% => {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |3}}|{{#switch:{{paramcount|x|x|x|x|{{{5|}}}}}|4=64|5=10}}}}% => {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |4}}|60}}% =>{{#explode:{{{widths}}}| |5}}% => {{#explode:{{{widths}}}| |6}}% => {{#explode:{{{widths}}}| |7}}% => {{#explode:{{{widths}}}| |8}}% => {{#explode:{{{widths}}}| |9}}% |
Revision as of 20:39, 5 March 2013
20% => 80% => 70% => 64% => 60% =>% => % => % => % => %