Editing
Template:Infobox hero/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Infobox hero | key= hero_atlas | art = Abrams full.png | weapon_name = Case Closed | card = Abrams card.png |no_spirit_resist=true |no_bullet_resist=true |no_sprint=true |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.91}} }} 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}} <pre>|key = hero_tengu</pre> or <pre>|key = Ivy</pre> <templatedata> { "params": { "name": {}, "card": { "required": true, "description": "Adds hero's portrait ", "example": "Abrams card.png" }, "weapon_name": {}, "dps": {}, "bullet_damage": {}, "ammo": {}, "bullets_per_sec": {}, "reload_time": {}, "bullet_velocity": {}, "light_melee": {}, "heavy_melee": {}, "range": {}, "max_range": { "description": "For Bebop" }, "max_health": {}, "health_regen": {}, "bullet_resist": {}, "spirit_resist": {}, "move_speed": {}, "sprint_speed": {}, "stamina": {}, "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": { "suggestedvalues": [ "true" ], "description": "Removes sprint speed from the table", "suggested": true }, "has_max_range": { "suggestedvalues": [ "true" ], "description": "Adds max range parameter (for Bebop)" }, "no_summary": { "suggestedvalues": [ "true" ], "description": "Disables summary" }, "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", "paramOrder": [ "key", "card", "icon", "name", "weapon_name", "dps", "bullet_damage", "ammo", "bullets_per_sec", "reload_time", "bullet_velocity", "light_melee", "heavy_melee", "range", "max_range", "max_health", "health_regen", "bullet_resist", "spirit_resist", "move_speed", "sprint_speed", "stamina", "no_spirit_resist", "no_bullet_resist", "no_sprint", "has_max_range", "no_summary" ] } </templatedata><includeonly>[[Category:Infobox templates|Hero]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Data:AttributeData.json
(
edit
)
Data:Dictionary
(
edit
)
Data:HeroData.json
(
edit
)
Data:LangCodes.json
(
edit
)
Data:Lang en.json
(
edit
)
Data:StatInfoboxOrder.json
(
edit
)
Template:HeroIcon
(
edit
)
Template:Icon/Brown
(
edit
)
Template:Icon/Grey
(
edit
)
Template:Infobox hero
(
edit
)
Template:PI
(
edit
)
Template:Quotation
(
edit
)
Module:AttributeData
(
edit
)
Module:Dictionary
(
edit
)
Module:HeroData
(
edit
)
Module:Lang
(
edit
)
Module:Utilities
(
edit
)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Discord community
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Page information
Languages