Difference between revisions of "Template:Transient stat table result format"

no edit summary
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:
<includeonly><onlyinclude>{{#if:
<!--defining vars-->
<!--defining vars-->
{{#vardefine:weapon|{{Weapon type|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|0}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|0}}|@|1}}|{{{?Has weapon type}}} }} }} }}
{{#vardefine:weapon|{{Weapon type|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|0}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|0}}|@|1}}|{{{Has weapon type}}} }} }} }}
{{#arraydefine:atk multiplier array|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|1}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|1}}|@|1}} }} }}
{{#arraydefine:atk multiplier array|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|1}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|1}}|@|1}} }} }}
{{#arraydefine:hp multiplier array|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|2}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|2}}|@|1}} }} }}
{{#arraydefine:hp multiplier array|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|2}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|2}}|@|1}} }} }}
{{#vardefine:cs weapon|{{Weapon type|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|3}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|3}}|@|1}}|{{{?Has charge skill weapon type}}} }} }} }}
{{#vardefine:cs weapon|{{Weapon type|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|3}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|3}}|@|1}}|{{{Has charge skill weapon type}}} }} }} }}
{{#arraydefine:cs atk multiplier array|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|4}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|4}}|@|1}} }} }}
{{#arraydefine:cs atk multiplier array|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|4}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|4}}|@|1}} }} }}
{{#vardefine:note|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|5}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|5}}|@|1}}|}} }}
{{#vardefine:note|{{#if:{{#explode:{{#explode:{{{userparam|}}}|###|5}}|@|1}}|{{#explode:{{#explode:{{{userparam|}}}|###|5}}|@|1}}|}} }}
Line 18: Line 18:
{{#arrayprint:cs atk multiplier array||@@@|{{#vardefine:cs atk multiplier|{{#expr:{{#var:cs atk multiplier}}*@@@}} }} }}
{{#arrayprint:cs atk multiplier array||@@@|{{#vardefine:cs atk multiplier|{{#expr:{{#var:cs atk multiplier}}*@@@}} }} }}
}}<tr>
}}<tr>
   <td>{{Transient icon|{{{?Has English name}}}|size=medium|rarity={{{?Has rarity}}}|variant={{{?Has variant}}}|frame=y}}</td>
   <td>{{Transient icon|{{{Has English name}}}|size=medium|rarity={{{Has rarity}}}|variant={{{Has variant}}}|frame=y}}</td>
   <td>{{#expr: ({{formatnum:{{{?Has hp value}}}|R}}+{{formatnum:{{{?Has hp growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}-1)*{{#var:hp multiplier}}) round 0 }}</td>
   <td>{{#expr: ({{formatnum:{{{Has hp value}}}|R}}+{{formatnum:{{{Has hp growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1)*{{#var:hp multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{?Has hp value}}}|R}}+{{formatnum:{{{?Has hp growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}+10-1)+1000)*{{#var:hp multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has hp value}}}|R}}+{{formatnum:{{{Has hp growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{#var:hp multiplier}}) round 0 }}</td>
   <td>{{#expr: ({{formatnum:{{{?Has atk value}}}|R}}+{{formatnum:{{{?Has atk growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}-1)*{{#var:atk multiplier}})round 0 }}</td>   
   <td>{{#expr: ({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1)*{{#var:atk multiplier}})round 0 }}</td>   
   <td>{{#expr: (({{formatnum:{{{?Has atk value}}}|R}}+{{formatnum:{{{?Has atk growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}+10-1)+1000)*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{?Has atk value}}}|R}}+{{formatnum:{{{?Has atk growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}-1))*{{Weapon atk multiplier|{{#var:weapon}} }}*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1))*{{Weapon atk multiplier|{{#var:weapon}} }}*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{?Has atk value}}}|R}}+{{formatnum:{{{?Has atk growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}+10-1)+1000)*{{Weapon atk multiplier|{{#var:weapon}} }}*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{Weapon atk multiplier|{{#var:weapon}} }}*{{#var:atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{?Has atk value}}}|R}}+{{formatnum:{{{?Has atk growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}-1))*{{Weapon atk multiplier|{{#var:cs weapon}} }}*{{{?Has charge skill multiplier}}}*{{#var:cs atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}-1))*{{Weapon atk multiplier|{{#var:cs weapon}} }}*{{{Has charge skill multiplier}}}*{{#var:cs atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{?Has atk value}}}|R}}+{{formatnum:{{{?Has atk growth value}}}|R}}*({{Transient max level|{{{?Has rarity}}} }}+10-1)+1000)*{{Weapon atk multiplier|{{#var:cs weapon}} }}*{{{?Has charge skill multiplier}}}*{{#var:cs atk multiplier}}) round 0 }}</td>
   <td>{{#expr: (({{formatnum:{{{Has atk value}}}|R}}+{{formatnum:{{{Has atk growth value}}}|R}}*({{Transient max level|{{{Has rarity}}} }}+10-1)+1000)*{{Weapon atk multiplier|{{#var:cs weapon}} }}*{{{Has charge skill multiplier}}}*{{#var:cs atk multiplier}}) round 0 }}</td>
   {{#if:{{#var:note}}|<td>{{#var:note}}</td>}}
   {{#if:{{#var:note}}|<td>{{#var:note}}</td>}}
</tr>
</tr>
trusted
5,920

edits