Difference between revisions of "Template:CortexPool"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
{{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}}' {{!}}''{{{description}}}'' | {{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}}}' {{!}}''{{{description}}}'' | ||
{{!}}-}} | {{!}}-}} | ||
− | {{!}}style='text-align:center;width:{{#if:{{{pool4_name|}}}|25|{{#if:{{{pool3_name|}}}|33.333333|{{#if:{{{pool2_name|}}}|50|100}}}}}}%'{{!}}{{#if:{{{pool1_name|}}}|{{{pool1_name|0}}}|;}} | + | {{!}}style='text-align:center;width:{{#if:{{{pool5_name|}}}|20|{{#if:{{{pool4_name|}}}|25|{{#if:{{{pool3_name|}}}|33.333333|{{#if:{{{pool2_name|}}}|50|100}}}}}}}}%'{{!}}{{#if:{{{pool1_name|}}}|{{{pool1_name|0}}}|;}} |
− | {{#if:{{{pool2_name|}}}|{{!}}style='text-align:center;width:{{#if:{{{pool4_name|}}}|25|{{#if:{{{pool3_name|}}}|33.333333|50}}}}%'{{!}}{{{pool2_name|0}}}|;}} | + | {{#if:{{{pool2_name|}}}|{{!}}style='text-align:center;width:{{#if:{{{pool5_name|}}}|20|{{#if:{{{pool4_name|}}}|25|{{#if:{{{pool3_name|}}}|33.333333|50}}}}}}%'{{!}}{{{pool2_name|0}}}|;}} |
− | {{#if:{{{pool3_name|}}}|{{!}}style='text-align:center;width:{{#if:{{{pool4_name|}}}|25|33.333333}}%'{{!}}{{{pool3_name|0}}}|;}} | + | {{#if:{{{pool3_name|}}}|{{!}}style='text-align:center;width:{{#if:{{{pool5_name|}}}|20|{{#if:{{{pool4_name|}}}|25|33.333333}}}}%'{{!}}{{{pool3_name|0}}}|;}} |
− | {{#if:{{{pool4_name|}}}|{{!}}style='text-align:center;width:25%'{{!}}{{{pool4_name|0}}}|;}} | + | {{#if:{{{pool4_name|}}}|{{!}}style='text-align:center;width:{{#if:{{{pool5_name|}}}|20|25}}%'{{!}}{{{pool4_name|0}}}|;}} |
+ | {{#if:{{{pool5_name|}}}|{{!}}style='text-align:center;width:50%'{{!}}{{{pool5_name|0}}}|;}} | ||
{{!}}- | {{!}}- | ||
{{#ifexpr:({{{pool1_count|0}}}>=1 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=1 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=1 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=1 and {{#if:{{{pool4_name|}}}|1|0}})| | {{#ifexpr:({{{pool1_count|0}}}>=1 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=1 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=1 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=1 and {{#if:{{{pool4_name|}}}|1|0}})| |
Revision as of 00:13, 13 December 2022
Pools require a name |
|