Template:Infobox hero

Revision as of 06:46, 17 September 2024 by Cronos (talk | contribs)
Abrams
[[File:{{{card}}}|200px|alt={{{BASEPAGENAME}}}]]
Initial Stats
Weapon
""
DPS {{{dps}}}
Bullet Damage {{{bullet_damage}}}
Ammo

{{{ammo}}}

Bullets per sec

{{{bullets_per_sec}}}

Light Melee {{{light_melee}}}
Heavy Melee {{{heavy_melee}}}
Falloff Range {{{range}}}
Vitality
Health

{{{max_health}}}

Health Regen

{{{health_regen}}}

Bullet Resist

{{{bullet_resist}}}%

Spirit Resist

{{{spirit_resist}}}%

Move Speed

{{{move_speed}}} m/s

Sprint Speed

{{{sprint_speed}}} m/s

Stamina

{{{stamina}}}

Power Increases
+{{{increase1_value}}} {{{increase1_stat}}}
+{{{increase2_value}}} {{{increase2_stat}}}
+{{{increase3_value}}} {{{increase3_stat}}}

Template documentation [view] [edit] [history] [purge]
Abrams
{{{BASEPAGENAME}}}
Initial Stats
Weapon
"Case Closed"
DPS {{{dps}}}
Bullet Damage Hero Not Found+0.25
Ammo

{{{ammo}}}

Bullets per sec

{{{bullets_per_sec}}}

Light Melee Hero Not Found+2.67
Heavy Melee Hero Not Found+4.91
Falloff Range {{{range}}}
Vitality
Health

Hero Not Found+34

Health Regen

{{{health_regen}}}

Bullet Resist

{{{bullet_resist}}}%

Spirit Resist

{{{spirit_resist}}}%

Move Speed

{{{move_speed}}} m/s

Sprint Speed

{{{sprint_speed}}} m/s

Stamina

{{{stamina}}}

Power Increases
+{{{increase1_value}}} {{{increase1_stat}}}
+{{{increase2_value}}} {{{increase2_stat}}}
+{{{increase3_value}}} {{{increase3_stat}}}

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

Infobox for heroes.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
keykey

Autofills table contents

Suggested values
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
Stringrequired
cardcard

Adds hero's portrait

Example
Abrams card.png
Unknownrequired
iconicon

no description

Unknownoptional
namename

no description

Unknownoptional
weapon_nameweapon_name

no description

Unknownoptional
dpsdps

no description

Unknownoptional
bullet_damagebullet_damage

no description

Unknownoptional
ammoammo

no description

Unknownoptional
bullets_per_secbullets_per_sec

no description

Unknownoptional
reload_timereload_time

no description

Unknownoptional
bullet_velocitybullet_velocity

no description

Unknownoptional
light_meleelight_melee

no description

Unknownoptional
heavy_meleeheavy_melee

no description

Unknownoptional
rangerange

no description

Unknownoptional
max_rangemax_range

For Bebop

Unknownoptional
max_healthmax_health

no description

Unknownoptional
health_regenhealth_regen

no description

Unknownoptional
bullet_resistbullet_resist

no description

Unknownoptional
spirit_resistspirit_resist

no description

Unknownoptional
move_speedmove_speed

no description

Unknownoptional
sprint_speedsprint_speed

no description

Unknownoptional
staminastamina

no description

Unknownoptional
no_spirit_resistno_spirit_resist

Removes spirit resist from the table

Suggested values
true
Unknownsuggested
no_bullet_resistno_bullet_resist

Removes bullet resist from the table

Suggested values
true
Unknownsuggested
no_sprintno_sprint

Removes sprint speed from the table

Suggested values
true
Unknownsuggested
has_max_rangehas_max_range

Adds max range parameter (for Bebop)

Suggested values
true
Unknownoptional
no_summaryno_summary

Disables summary

Suggested values
true
Unknownoptional