Difference between revisions of "Template:CortexPool"

From Starlight Wiki
Jump to navigation Jump to search
(Undo revision 3063 by Stylo (talk))
Tag: Undo
Line 38: Line 38:
 
{{#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}}}}}|;}}
{{#ifexpr:{{{pool2_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#die:{{{pool2_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool2_count|0}}}>=1 or {{{pool4_count|0}}}>=1 or {{{pool3_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=1|{{#die:{{{pool2_die|0}}}}}|}}|;}}
{{#ifexpr:{{{pool3_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#die:{{{pool3_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool4_count|0}}}>=1 or {{{pool3_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=1|{{#die:{{{pool3_die|0}}}}}|}}|;}}
 
{{#ifexpr:{{{pool4_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool4_count|0}}}>=1|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_die|0}}}}}|;}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#ifexpr:({{{pool1_count|0}}}>=2 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=2 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=2 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=2 and {{#if:{{{pool4_name|}}}|1|0}})|
 
{{#ifexpr:({{{pool1_count|0}}}>=2 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=2 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=2 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=2 and {{#if:{{{pool4_name|}}}|1|0}})|
 
{{#ifexpr:{{{pool1_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool1_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
{{#ifexpr:{{{pool2_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#die:{{{pool2_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool2_count|0}}}>=2 or {{{pool4_count|0}}}>=2 or {{{pool3_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=2|{{#die:{{{pool2_die|0}}}}}|}}|;}}
{{#ifexpr:{{{pool3_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#die:{{{pool3_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool4_count|0}}}>=2 or {{{pool3_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=2|{{#die:{{{pool3_die|0}}}}}|}}|;}}
 
{{#ifexpr:{{{pool4_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_die|0}}}}}|;}}
 
{{#ifexpr:{{{pool4_count|0}}}>=2|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_die|0}}}}}|;}}
 
{{!}}-}}
 
{{!}}-}}
 
{{#ifexpr:({{{pool1_count|0}}}>=3 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=3 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=3 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=3 and {{#if:{{{pool4_name|}}}|1|0}})|
 
{{#ifexpr:({{{pool1_count|0}}}>=3 and {{#if:{{{pool1_name|}}}|1|0}}) or ({{{pool2_count|0}}}>=3 and {{#if:{{{pool2_name|}}}|1|0}}) or ({{{pool3_count|0}}}>=3 and {{#if:{{{pool3_name|}}}|1|0}}) or ({{{pool4_count|0}}}>=3 and {{#if:{{{pool4_name|}}}|1|0}})|
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=3|{{#die:{{{pool1_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool1_count|0}}}>=3|{{!}}style='text-align:center'{{!}}{{#die:{{{pool1_die|0}}}}}|;}}
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=3|{{#die:{{{pool2_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool2_count|0}}}>=3 or {{{pool4_count|0}}}>=3 or {{{pool3_count|0}}}>=3|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=3|{{#die:{{{pool2_die|0}}}}}|}}|;}}
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=3|{{#die:{{{pool3_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool4_count|0}}}>=3 or {{{pool3_count|0}}}>=3|{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=3|{{#die:{{{pool3_die|0}}}}}|}}|;}}
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool4_count|0}}}>=3|{{#die:{{{pool4_die|0}}}}}|;}}
+
{{#ifexpr:{{{pool4_count|0}}}>=3|{{!}}style='text-align:center'{{!}}{{#die:{{{pool4_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}})|
 
{{#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}})|

Revision as of 00:01, 13 December 2022

Template:Pool Template:Pool

Pools require a name