User:Dragon Installman/doc: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{Infobox hero
{{Infobox hero
| key = hero_wraith
| weapon_name = The Rake
| art = Wraith full.png
| card = Wraith card.png
| no_bullet_resist=true
| no_spirit_resist=true
| sprint_speed = {{#invoke:HeroData|get_hero_var|hero_wraith|SprintSpeed|2}}{{ss|0.06}}<br>
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|31}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.37}}
|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.91}}
|no_summary=true
}}{{Infobox hero
| key= hero_atlas
| key= hero_atlas
| art = Abrams full.png
| art = Abrams full.png
Line 27: Line 41:
|bullet_resist=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1.25}}
|bullet_resist=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1.25}}
}}
}}
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.