Template:Infobox hero/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search

mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Infobox hero | {{Infobox hero | ||
| key= hero_atlas | | key= hero_atlas | ||
| art = Abrams full.png | | art = Abrams full.png | ||
| Line 25: | Line 11: | ||
|light_melee= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|2.67}} | |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}} | |heavy_melee= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|4.91}} | ||
|no_summary=true | |||
}} | }} | ||
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]]. | ||
Revision as of 02:41, 22 October 2024

| |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
| |||||||||||||||||||
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
