Difference between revisions of "Template:CortexPool"

From Starlight Wiki
Jump to navigation Jump to search
Line 61: Line 61:
 
{{#ifexpr:{{{pool5_count|0}}}>=3|{{!}}style='text-align:center'{{!}}{{#die:{{{pool5_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=3|{{!}}style='text-align:center'{{!}}{{#die:{{{pool5_die|0}}}}}|;}}
 
{{!}}-}}
 
{{!}}-}}
{{#ifexpr:({{{pool1_count|0}}}>=4 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=4 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=4 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=4 and {{#if:{{{pool4_name|}}}|1|0}}|1|0}})|
+
{{#ifexpr:({{{pool1_count|0}}}>=4 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=4 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=4 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=4 and {{#if:{{{pool4_name|}}}|1|0}})|1|0}})|
 
{{#ifexpr:{{{pool1_count|0}}}>=4|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool1_count|0}}}>=4|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=4 or {{{pool2_count|0}}}>=4 or {{{pool4_count|0}}}>=4 or {{{pool3_count|0}}}>=4|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=4|{{#die:{{{pool2_die|0}}}}}|}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=4 or {{{pool2_count|0}}}>=4 or {{{pool4_count|0}}}>=4 or {{{pool3_count|0}}}>=4|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=4|{{#die:{{{pool2_die|0}}}}}|}}|;}}
Line 70: Line 70:
 
{{#ifexpr:{{{pool1_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool1_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=5 or {{{pool2_count|0}}}>=5 or {{{pool4_count|0}}}>=5 or {{{pool3_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=5|{{#die:{{{pool2_die|0}}}}}|}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=5 or {{{pool2_count|0}}}>=5 or {{{pool4_count|0}}}>=5 or {{{pool3_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=5|{{#die:{{{pool2_die|0}}}}}|}}|;}}
{{#ifexpr:({{{pool1_count|0}}}>=5 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=5 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=5 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=5 and {{#if:{{{pool4_name|}}}|1|0}} or ({{{pool5_count|0}}}>=5 and {{#if:{{{pool5_name|}}}|1|0}})|
+
{{#ifexpr:({{{pool1_count|0}}}>=5 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=5 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=5 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=5 and {{#if:{{{pool4_name|}}}|1|0}}) or ({{{pool5_count|0}}}>=5 and {{#if:{{{pool5_name|}}})|1|0}})|
 
{{#ifexpr:{{{pool5_count|0}}}>=5 or {{{pool4_count|0}}}>=5 or {{{pool3_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=5|{{#die:{{{pool3_die|0}}}}}|}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=5 or {{{pool4_count|0}}}>=5 or {{{pool3_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=5|{{#die:{{{pool3_die|0}}}}}|}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=5 or {{{pool4_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool5_count|0}}}>=5 or {{{pool4_count|0}}}>=5|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_die|0}}}}}|;}}

Revision as of 00:21, 13 December 2022

Template:Pool Template:Pool

0)
Pools require a name

}}