Editing Template:Infobox hero/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
{{Infobox hero | |||
|key=hero_atlas | |key=hero_atlas | ||
|art=Abrams full.png | |||
|card=Abrams card.png | |||
|no_spirit_resist=true | |||
|no_bullet_resist=true | |||
|no_sprint=true | |||
|voice_actor=Samoa Joe | |voice_actor=Samoa Joe | ||
|release_date=April 16, 2024 | |release_date=April 16, 2024 | ||
|codenames=Atlas; Bull | |codenames=Atlas; Bull | ||
}} | }} | ||
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 {{HeroIcon|Ivy}} | |||
For example | |||
<pre>|key = hero_tengu</pre> | <pre>|key = hero_tengu</pre> | ||
or | or | ||
<pre>|key = Ivy</pre> | <pre>|key = Ivy</pre> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "name": {}, | ||
"card": { | "card": { | ||
"description": " | "description": "Adds hero's portrait", | ||
"example": "Abrams card.png | "example": "Abrams card.png" | ||
}, | }, | ||
"weapon_name": {}, | |||
"dps": {}, | "dps": {}, | ||
"bullet_damage": {}, | "bullet_damage": {}, | ||
"ammo": {}, | "ammo": {}, | ||
"bullets_per_sec": {}, | "bullets_per_sec": {}, | ||
| Line 109: | Line 34: | ||
"light_melee": {}, | "light_melee": {}, | ||
"heavy_melee": {}, | "heavy_melee": {}, | ||
"range": {}, | |||
"max_range": { | "max_range": { | ||
"description": " | "description": "For Bebop" | ||
}, | }, | ||
"max_health": {}, | "max_health": {}, | ||
"health_regen": {}, | "health_regen": {}, | ||
"crit_reduction": { | |||
"description": " | "description": "If the hero has crit reduction (Seven and Mo & Krill)" | ||
}, | }, | ||
"bullet_resist": {}, | "bullet_resist": {}, | ||
"spirit_resist": {}, | "spirit_resist": {}, | ||
" | "move_speed": {}, | ||
" | "sprint_speed": {}, | ||
"description": " | "stamina": {}, | ||
"voice_actor": {}, | |||
"release_date": {}, | |||
"quotes": {}, | |||
"codenames": {}, | |||
"no_icon": { | |||
"suggestedvalues": [ | |||
"true" | |||
], | |||
"description": "Disables icon" | |||
}, | |||
"no_spirit_resist": { | |||
"suggestedvalues": [ | |||
"true" | |||
], | |||
"description": "Removes spirit resist from the table", | |||
"suggested": true | |||
}, | |||
"no_bullet_resist": { | |||
"suggestedvalues": [ | |||
"true" | |||
], | |||
"description": "Removes bullet resist from the table", | |||
"suggested": true | |||
}, | }, | ||
" | "no_sprint": { | ||
"description": " | "suggestedvalues": [ | ||
"true" | |||
], | |||
"description": "Removes sprint speed from the table", | |||
"suggested": true | |||
}, | }, | ||
" | "no_summary": { | ||
"description": " | "suggestedvalues": [ | ||
"true" | |||
], | |||
"description": "Disables summary" | |||
}, | |||
"no_quotes": { | |||
"suggestedvalues": [ | |||
"true" | |||
], | |||
"description": "Removes Quotes page link from table" | |||
}, | |||
"key": { | |||
"description": "Autofills table contents", | |||
"suggestedvalues": [ | |||
"hero_atlas", | |||
"hero_bebop", | |||
"hero_dynamo", | |||
"hero_orion", | |||
"hero_haze", | |||
"hero_inferno", | |||
"hero_tengu", | |||
"hero_kelvin", | |||
"hero_ghost", | |||
"hero_lash", | |||
"hero_forge", | |||
"hero_mirage", | |||
"hero_krill", | |||
"hero_chrono", | |||
"hero_synth", | |||
"hero_gigawatt", | |||
"hero_shiv", | |||
"hero_hornet", | |||
"hero_viscous", | |||
"hero_warden", | |||
"hero_wraith", | |||
"hero_yamato", | |||
"hero_astro", | |||
"hero_nano", | |||
"hero_wrecker", | |||
"hero_kali", | |||
"hero_cadence" | |||
], | |||
"required": true, | |||
"type": "string" | |||
}, | }, | ||
" | "icon": {} | ||
}, | }, | ||
"description": "Infobox for heroes.", | |||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"key", | "key", | ||
"card", | "card", | ||
"weapon_name", | |||
"icon", | "icon", | ||
"name", | "name", | ||
"dps", | "dps", | ||
"bullet_damage", | "bullet_damage", | ||
"ammo", | "ammo", | ||
"bullets_per_sec", | "bullets_per_sec", | ||
| Line 163: | Line 144: | ||
"light_melee", | "light_melee", | ||
"heavy_melee", | "heavy_melee", | ||
"range", | |||
"max_range", | "max_range", | ||
"max_health", | "max_health", | ||
"health_regen", | "health_regen", | ||
"crit_reduction", | |||
"bullet_resist", | "bullet_resist", | ||
"spirit_resist", | "spirit_resist", | ||
"move_speed", | "move_speed", | ||
"sprint_speed", | "sprint_speed", | ||
"stamina", | "stamina", | ||
" | "voice_actor", | ||
" | "release_date", | ||
"quotes", | |||
"codenames", | |||
"no_icon", | |||
"no_spirit_resist", | |||
"no_bullet_resist", | |||
"no_sprint", | |||
"no_summary", | |||
"no_quotes" | |||
] | |||
} | } | ||
</templatedata> | </templatedata><includeonly>[[Category:Infobox templates|Hero]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>[[Category:Infobox templates|Hero]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |||