Difference between revisions of "Template:CortexPool"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
{{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4|}}}|4|{{#if:{{{pool3|}}}|3|{{#if:{{{pool2|}}}|2|1}}}}}}' {{!}}''{{{description}}}'' | {{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4|}}}|4|{{#if:{{{pool3|}}}|3|{{#if:{{{pool2|}}}|2|1}}}}}}' {{!}}''{{{description}}}'' | ||
{{!}}-}} | {{!}}-}} | ||
− | {{!}}style=' | + | {{#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}})| |
− | {{!}}style=' | + | {{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=1|{{#die:{{{pool1_die|0}}}}}}} |
− | {{!}}style=' | + | {{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=1|{{#die:{{{pool2_die|0}}}}}}} |
− | {{!}}style=' | + | {{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=1|{{#die:{{{pool3_die|0}}}}}}} |
− | {{!}}- | + | {{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool4_count|0}}}>=1|{{#die:{{{pool4_die|0}}}}}}} |
+ | {{!}}-}} | ||
{{#ifexpr:({{{pool1_count|0}}}>=2 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=2 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=2 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=2 and {{#if:{{{pool4_name|}}}|1|0}})| | {{#ifexpr:({{{pool1_count|0}}}>=2 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=2 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=2 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=2 and {{#if:{{{pool4_name|}}}|1|0}})| | ||
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=2|{{#die:{{{pool1_die|0}}}}}}} | {{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=2|{{#die:{{{pool1_die|0}}}}}}} |