Difference between revisions of "Template:RBE10K TableRows"
From The Crowdsourced Resource-Based Economy Knowledgebase
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="vertical-align:top; " | |- style="vertical-align:top; " | ||
− | | width="{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12|5=10}}}}%" style="padding: 2px 3px; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px 1px 0 0; border-color: #{{{linecolour|000}}}; background-color: #{{{bgcolour1|bbbbff}}};" | + | | width="{{#if: {{{widths|}}} | {{#explode:{{{widths}}} | | 0 }} | {{#switch: {{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}} }}|2=20|3=15|4=12|5=10}} |
+ | }}%" style="padding: 2px 3px; 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="padding: 2px 3px; width: {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=80|3={{#if:{{{4|}}}|70|15}}|4=12|5=10}}}}%; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#ifeq:{{{3|}}}|{{{3|-}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};" | {{#if:{{{header|}}}|'''''{{{2|}}}'''''|{{{2|}}}}} | | style="padding: 2px 3px; width: {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=80|3={{#if:{{{4|}}}|70|15}}|4=12|5=10}}}}%; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#ifeq:{{{3|}}}|{{{3|-}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};" | {{#if:{{{header|}}}|'''''{{{2|}}}'''''|{{{2|}}}}} | ||
| style="{{#ifeq:{{{3|}}}|{{{3|-}}}|padding: 2px 3px; width: {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|x|{{{4|}}}|{{{5|}}}}}|3=70|4={{#if:{{{5|}}}|64|12}}|5=10}}}}%; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#ifeq:{{{4|}}}|{{{4|-}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{3|}}} | {{#if:{{{header|}}}|'''''{{{3|}}}'''''|{{{3|}}}}} }} | | style="{{#ifeq:{{{3|}}}|{{{3|-}}}|padding: 2px 3px; width: {{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|x|{{{4|}}}|{{{5|}}}}}|3=70|4={{#if:{{{5|}}}|64|12}}|5=10}}}}%; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#ifeq:{{{4|}}}|{{{4|-}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{3|}}} | {{#if:{{{header|}}}|'''''{{{3|}}}'''''|{{{3|}}}}} }} | ||
Line 10: | Line 12: | ||
| style="{{#ifeq:{{{8|}}}|{{{8|-}}}|padding: 2px 3px; width: {{#explode:{{{widths}}}| |7}}%; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#ifeq:{{{9|}}}|{{{9|-}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{8|}}} | {{#if:{{{header|}}}|'''''{{{8|}}}'''''|{{{8|}}}}} }} | | style="{{#ifeq:{{{8|}}}|{{{8|-}}}|padding: 2px 3px; width: {{#explode:{{{widths}}}| |7}}%; border-style: solid; border-width: {{#if:{{{header|}}}|1|0}}px {{#ifeq:{{{9|}}}|{{{9|-}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{8|}}} | {{#if:{{{header|}}}|'''''{{{8|}}}'''''|{{{8|}}}}} }} | ||
| style="{{#ifeq:{{{9|}}}|{{{9|-}}}|padding: 2px 3px; width: {{#explode:{{{widths}}}| |8}}%; 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}}%; 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|}}}}} }} | ||
− | |} | + | |}<noinclude> |
+ | <!-- | ||
+ | |||
+ | |- | ||
+ | | width="{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12|5=10}}}}%" style="padding: 2px 3px; 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|}}}}} | ||
+ | |||
+ | |||
+ | {{ifnotempty|x|{{!}}- style="vertical-align:top; " | ||
+ | {{!}}a | ||
+ | }}{{ifnotempty||{{!}}- | ||
+ | {{!}}b | ||
+ | }}{{ifnotempty||{{!}}- | ||
+ | {{!}}c | ||
+ | }}{{ifnotempty||{{!}}- | ||
+ | {{!}}d | ||
+ | }}{{ifnotempty|x|{{!}}- | ||
+ | {{!}}e | ||
+ | }} | ||
+ | |||
+ | --> | ||
+ | </noinclude> |