User:Sur/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
simple doc
 
Sur (talk | contribs)
m generate hero infobox removed
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:


==Parameters==
==Parameters==
Parameters are passed by HeroData's write_infobox lua invoke, call it with just the parameter HERO_NAME in english
Parameters are passed from [[Module:HeroData]], see there for more documentation

Latest revision as of 22:56, 21 September 2024

Overview[edit | edit source]

Creates a summarized infobox for a given hero.

Also displays the hero's role and playstyle below.

Example[edit | edit source]

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

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


Outputs


Abrams
{{{BASEPAGENAME}}}
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[edit | edit source]

Parameters are passed from Module:HeroData, see there for more documentation