Template:GetEquipInfo/format

{{#vardefine:equipinfo:value-formatted|{{#switch:{{#var:_equipinfo:stat}}|buffImmune={{#lstmap:{{#var:_equipinfo:value}}|,|§§| {\{eil\!\{\{buffNameFromId\!§§\!lang\een\}\} }}₪{{#lstcnt:{{#var:_equipinfo:value}}|,}}|counterWeight={{#lstmap:{{#var:_equipinfo:value}}|,|§§| {\{eil\!\{\{projectileNameFromId\!§§\!lang\een\}\} }}₪{{#lstcnt:{{#var:_equipinfo:value}}|,}}|lavaMax={{duration|{{#expr:{{#var:_equipinfo:value}}/60}}}}|lifeRegen={{#expr:{{#var:_equipinfo:value}}/2}}|magicDamage|meleeDamage|minionDamage|rangedDamage|arrowDamage|bulletDamage|rocketDamage|meleeSpeed|moveSpeed|pickSpeed|manaCost|endurance={{#sub:{{#var:_equipinfo:value}}|0|1}}{{percent|{{#expr:{{#sub:{{#var:_equipinfo:value}}|1}}*100 round 2}}%}}|magicCrit|meleeCrit|rangedCrit|fishingSkill={{#sub:{{#var:_equipinfo:value}}|0|1}}{{percent|{{#sub:{{#var:_equipinfo:value}}|1}}%}}|npcTypeNoAggro={{#lstmap:{{#var:_equipinfo:value}}|,|§§| {\{eil\!\{\{npcNameFromId\!§§\!lang\een\}\} }}₪{{#lstcnt:{{#var:_equipinfo:value}}|,}}|#default={{#var:_equipinfo:value}}}}}}{{#vardefine:equipinfo:value-formatted:1|{{#explode:{{#var:equipinfo:value-formatted}}|₪}}}}{{#vardefine:equipinfo:value-formatted:2|{{#explode:{{#var:equipinfo:value-formatted}}|₪|1}}}} Internal subtemplate. Used for formatting the raw stat values from the source code.