Template:Infobox hero: Difference between revisions

add exception for Silver transformed category
moved bullets per burst above ammo
Line 85: Line 85:
{{!}} [[Damage per second{{If_lang}}|<span>{{#invoke:Lang|get_string|BonusPelletsPerShot_label}}</span>]]:
{{!}} [[Damage per second{{If_lang}}|<span>{{#invoke:Lang|get_string|BonusPelletsPerShot_label}}</span>]]:
{{!}} {{Icon/Brown|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{pellets_per_shot|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerShot|3}}}}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletsPerShot}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletsPerShot}}</span>}}}}
{{!}} {{Icon/Brown|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{pellets_per_shot|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerShot|3}}}}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletsPerShot}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletsPerShot}}</span>}}}}
|-
<!---- Ammo ---->
| [[Ammo{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_ClipSizeBonus}}</span>]]:
| {{Icon/Brown|[[File:Clip size icon.png|20px|link=Ammo{{If_lang}}]]|{{{ammo|{{#ifeq: {{{no_ammo|}}}|true|N/A|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|ClipSize|3}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|ClipSize}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|ClipSize}}</span>}}}}}}}
|-
|-
<!---- Bullets per burst ---->
<!---- Bullets per burst ---->
Line 94: Line 90:
{{!}} [[Damage per second{{If_lang}}|<span>{{#invoke:Dictionary|translate|BulletsPerBurst}}</span>]]:
{{!}} [[Damage per second{{If_lang}}|<span>{{#invoke:Dictionary|translate|BulletsPerBurst}}</span>]]:
{{!}} {{Icon/Brown|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{bullets_per_burst|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerBurst|3}}}}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletsPerBurst}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletsPerBurst}}</span>}}}}
{{!}} {{Icon/Brown|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{bullets_per_burst|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerBurst|3}}}}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletsPerBurst}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletsPerBurst}}</span>}}}}
|-
<!---- Ammo ---->
| [[Ammo{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_ClipSizeBonus}}</span>]]:
| {{Icon/Brown|[[File:Clip size icon.png|20px|link=Ammo{{If_lang}}]]|{{{ammo|{{#ifeq: {{{no_ammo|}}}|true|N/A|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|ClipSize|3}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|ClipSize}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|ClipSize}}</span>}}}}}}}
|-
|-
<!---- Bullets per sec ---->
<!---- Bullets per sec ---->