Difference between revisions of "Template:CortexPool"
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
{{#ifexpr:({{{pool1_count|0}}}<2 and {{#if:{{{pool1_name|}}}|1|0}})|<span class='err'>You need at least 1 pool with a rating of 2 or more</span>| | {{#ifexpr:({{{pool1_count|0}}}<2 and {{#if:{{{pool1_name|}}}|1|0}})|<span class='err'>You need at least 1 pool with a rating of 2 or more</span>| | ||
{{{!}}class="wikitable" style="width:{{{width|20}}}%" | {{{!}}class="wikitable" style="width:{{{width|20}}}%" | ||
− | {{!}}colspan='{{#if:{{{ | + | {{!}}colspan='{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}' class='hed'{{!}}{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Pools require a name</span>}} |
{{!}}- | {{!}}- | ||
− | {{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{ | + | {{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4_name|}}}|4|{{#if:{{{pool3_name|}}}|3|{{#if:{{{pool2_name|}}}|2|1}}}}}}' {{!}}''{{{description}}}'' |
{{!}}-}} | {{!}}-}} | ||
{{!}}style='text-align:center'{{!}}{{#if:{{{pool1_name|}}}|{{{pool1_name|0}}}}} | {{!}}style='text-align:center'{{!}}{{#if:{{{pool1_name|}}}|{{{pool1_name|0}}}}} |