User:Dragon Installman/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{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.9}} | |||
|no_summary=true | |||
}}{{Infobox hero | |||
| 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 | |||
|has_max_range=true | |||
|max_range= 32{{PI|2}} | |||
| | |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| | |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| | |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| | |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 | |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]]. | |||
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> | |||
<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> |
Revision as of 08:41, 21 October 2024
Abrams
| |
---|---|
Weapon: "Case Closed"
| |
Weapon Stats | |
DPS: | 70 |
Bullet Damage: | 4.68+0.25 |
Ammo: | |
Bullets per sec: | |
Reload Time: | |
Bullet Velocity: | |
Light Melee: | 63+2.67 |
Heavy Melee: | 116+4.9 |
Falloff Range: | 20m → 46m |
Vitality Stats | |
Health: |
570+34 |
Health Regen: | |
Move Speed: | |
Stamina: |
“Hooks an enemy for a knockout comboBebop can string together his abilities in many different ways. Disrupting enemy positions, saving an ally or dealing bursts of damage. When the situation doesn't require subtlety his giant laser still solves many problems.
Bebop
| |
---|---|
Weapon: "Humble Pie"
| |
Weapon Stats | |
DPS: | 66 |
Bullet Damage: | 5.3+0.29 |
Ammo: | |
Bullets per sec: | |
Reload Time: | |
Bullet Velocity: | |
Light Melee: | 63+2.67 |
Heavy Melee: | 116+4.91 |
Falloff Range: | 22m → 51m |
Max Range: | 32+2m |
Vitality Stats | |
Health: |
650+41 |
Health Regen: | |
Bullet Resist: |
10+1.25% |
Move Speed: | |
Sprint Speed: | |
Stamina: |
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