User:Sur/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m generate hero infobox removed
Sur (talk | contribs)
m no longer displays role and playstyle
 
Line 1: Line 1:
==Overview==
==Overview==
Creates a summarized infobox for a given hero.
Creates a summarized infobox for a given hero.
Also displays the hero's role and playstyle below.


==Example==
==Example==
Line 25: Line 23:
Outputs
Outputs


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


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

Latest revision as of 23:14, 20 October 2024

Overview[edit | edit source]

Creates a summarized infobox for a given hero.

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}}}
Voice ActorIDK
Release DateIDK
Last UpdatedIDK
Weapon
DPS 70.1
Ammo 9
Bullets per sec 1.67
Reload Time 0.353s
Vitality
Max Health 570
Bullet Resist 0%
Spirit Resist 0%
Move Speed 6.8m/s

Parameters[edit | edit source]

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