Template:Infobox hero/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Infobox hero
| key= hero_atlas
| art = Abrams full.png
| weapon_name = Case Closed
| card = Abrams card.png
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|34}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.25}}
|light_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|2.67}}
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|4.9}}
}}
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
You need to put hero's code name or their capitalized name in English in "key" parameter first.
You need to put hero's code name or their capitalized name in English in "key" parameter first.

Revision as of 00:21, 21 October 2024

Infobox hero
Tank
Brawler
Bull-Headed
Weapon Stats
Damage Per Second: 51.4
Bullet Damage: Hero Not Found+0.25+0.1
Pellets per shot: 9
Ammo: 9
Bullets per sec: 1.59
Reload Time: 0.353s
Bullet Velocity: 610m/s
Light Melee: Hero Not Found+2.67+1.74
Heavy Melee: Hero Not Found+4.9+4.03
Vitality Stats
Health: Hero Not Found+34+49
Health Regen: 1.5
Move Speed: 6.4m/s
Sprint Speed: 1.6m/s
Dash Speed: 13.9m/s
Stamina: 3
Stamina Cooldown: 4.5s
Spirit Stats
Spirit Power: 0+1.1

Template fills in most parameters in infobox automatically with data from Data:HeroData.json. You need to put hero's code name or their capitalized name in English in "key" parameter first.

For example this "key" fills infobox with data for Ivy

|key = hero_tengu

or

|key = Ivy