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='text-align:center'{{!}}{{#if:{{{pool1_name|}}}| | + | {{!}}style='text-align:center'{{!}}{{#if:{{{pool1_name|}}}|{{{pool1_name|0}}}}} |
− | {{!}}style='text-align:center'{{!}}{{#if:{{{pool2_name|}}}| | + | {{!}}style='text-align:center'{{!}}{{#if:{{{pool2_name|}}}|{{{pool2_name|0}}}}} |
− | {{!}}style='text-align:center'{{!}}{{#if:{{{pool3_name|}}}| | + | {{!}}style='text-align:center'{{!}}{{#if:{{{pool3_name|}}}|{{{pool3_name|0}}}}} |
− | {{!}}style='text-align:center'{{!}}{{#if:{{{pool4_name|}}}| | + | {{!}}style='text-align:center'{{!}}{{#if:{{{pool4_name|}}}|{{{pool4_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}})| |