Template:Infobox hero/doc: Difference between revisions
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. |