Changes

321 bytes added ,  17:59, 12 December 2022
no edit summary
Line 30: Line 30:  
{{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4|}}}|4|{{#if:{{{pool3|}}}|3|{{#if:{{{pool2|}}}|2|1}}}}}}' {{!}}''{{{description}}}''
 
{{#if:{{{description|}}}|{{!}}colspan='{{#if:{{{pool4|}}}|4|{{#if:{{{pool3|}}}|3|{{#if:{{{pool2|}}}|2|1}}}}}}' {{!}}''{{{description}}}''
 
{{!}}-}}
 
{{!}}-}}
{{!}}style='width:25%;text-align:center'{{!}}{{#if:{{{trait1|}}}|{{{trait1}}}}}
+
{{#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}})|
{{!}}style='width:25%;text-align:center'{{!}}{{#if:{{{trait1|}}}|{{#die:{{{trait1_value|0}}}}}}}
+
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=1|{{#die:{{{pool1_die|0}}}}}}}
{{!}}style='width:25%;text-align:center'{{!}}{{#die:{{{skill_level|0}}}}}
+
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool2_count|0}}}>=1|{{#die:{{{pool2_die|0}}}}}}}
{{!}}style='width:25%;text-align:center'{{!}}{{#die:{{{skill_level|0}}}}}
+
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool3_count|0}}}>=1|{{#die:{{{pool3_die|0}}}}}}}
{{!}}-
+
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool4_count|0}}}>=1|{{#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}})|
 
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=2|{{#die:{{{pool1_die|0}}}}}}}
 
{{!}}style='text-align:center'{{!}}{{#ifexpr:{{{pool1_count|0}}}>=2|{{#die:{{{pool1_die|0}}}}}}}