Difference between revisions of "Template:CortexPool"

From Starlight Wiki
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:{{{pool4|}}}|4|{{#if:{{{pool3|}}}|3|{{#if:{{{pool2|}}}|2|1}}}}}}' class='hed'{{!}}{{#if:{{{name|}}}|{{{name}}}|<span class='err'>Pools require a name</span>}}
+
{{!}}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:{{{pool4|}}}|4|{{#if:{{{pool3|}}}|3|{{#if:{{{pool2|}}}|2|1}}}}}}' {{!}}''{{{description}}}''
+
{{#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}}}}}

Revision as of 18:03, 12 December 2022

Template:Pool

Mob of Other
Mob Traits Rating
Pools require a name

}}