Editing User:Dragon Installman/doc

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
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
{{User:Dragon Installman
| 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}}
|no_summary=true
}}{{User:Dragon Installman
| 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}}
|no_summary=true
}}{{User:Dragon Installman
| key = hero_bebop
| key = hero_bebop
| weapon_name = Humble Pie
| weapon_name = Humble Pie
| art = Bebop full.png
| art = Bebop full.png
| card = Bebop card.png
| card = Bebop card.png
| no_spirit_resist=true
 
|health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|1}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|1}}
|light_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|1}}
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|1}}
|bullet_resist= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1}}
|has_max_range=true
|has_max_range=true
|max_range= 32{{PI|2}}
|max_range=999m
 
|max_health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|41}}
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|0.29}}
|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}}
|bullet_resist=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletResist|3}}{{PI|1.25}}
}}
}}
<br>
{{User:Dragon Installman
| key = hero_atlas
| weapon_name = Case Closed
| art = Abrams full.png
| card = Abrams card.png


Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
|health = {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|MaxHealth|3}}{{PI|1}}
You need to put hero's code name or their capitalized name in English in "key" parameter first.
|bullet_damage= {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BulletDamage|3}}{{PI|1}}
|light_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|LightMeleeDamage|3}}{{PI|1}}
|heavy_melee=  {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|HeavyMeleeDamage|3}}{{PI|1}}


For example this "key" fills infobox with data for {{HeroIcon|Ivy}}
}}
<pre>|key = hero_tengu</pre>
or
<pre>|key = Ivy</pre>
<includeonly>
<templatedata>
{
"params": {
"name": {},
"name_loc": {},
"lang": {},
"card": {},
"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"
},
"no_bullet_resist": {
"suggestedvalues": [
"true"
],
"description": "Removes bullet resist from the table"
},
"no_sprint": {
"suggestedvalues": [
"true"
],
"description": "Removes sprint speed from the table"
},
"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",
"Abrams"
],
"required": true,
"type": "string"
}
},
"description": "Infobox for heroes.",
"format": "block",
"paramOrder": [
"key",
"name",
"name_loc",
"lang",
"card",
"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>
Please note that all contributions to The 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)