User:Sur/doc

Revision as of 22:06, 21 September 2024 by Sur (talk | contribs) (simple doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

Creates a summarized infobox for a given hero.

Also displays the hero's role and playstyle below.

Example

Recommended to use Module:HeroData's write_infobox function to generate this dynamically, for example

{{#invoke:HeroData|write_infobox|Abrams}}


Outputs


Abrams
 
Weapon
"Case Closed"
Reloads single shells at a time. Can be interrupted
DPS   70.1
Ammo   9
Bullets per sec   1.67
Reload Time   0.353s
Vitality
Max Health   600
Bullet Resist   0%
Spirit Resist   0%
Move Speed   6.5m/s

Charges into close combat
Abrams has the bulk and sustain to lead from the front, often running into the middle of his foes and watching them scatter. If his enemies waste their fire on him, his backline teammates can lay out damage with impunity.

Parameters

Parameters are passed by HeroData's write_infobox lua invoke, call it with just the parameter HERO_NAME in english