User:Sur/doc: Difference between revisions

From The 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

Script error: The function "write_infobox" does not exist.

Parameters

[edit | edit source]

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