Difference between revisions of "Template:CortexPool"

From Starlight Wiki
Jump to navigation Jump to search
Line 36: Line 36:
 
{{#if:{{{pool3_name|}}}|{{!}}style='text-align:center'{{!}}{{{pool3_name|0}}}}}
 
{{#if:{{{pool3_name|}}}|{{!}}style='text-align:center'{{!}}{{{pool3_name|0}}}}}
 
{{#if:{{{pool4_name|}}}|{{!}}style='text-align:center'{{!}}{{{pool4_name|0}}}}}
 
{{#if:{{{pool4_name|}}}|{{!}}style='text-align:center'{{!}}{{{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}})|
 
{{#ifexpr:{{{pool1_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}}}
 
{{#ifexpr:{{{pool1_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}}}

Revision as of 18:15, 12 December 2022

Template:Pool Template:Pool

Pools require a name