Template:Ability card v2

From Deadlock Wiki
Revision as of 23:30, 2 October 2024 by Saag (talk | contribs) (Created template wrapper for invoking ability card function)
Jump to navigation Jump to search
Template documentation [view] [edit] [history] [purge]

Overview

Displays an ability card using the data stored in Data:AbilityCards.json

Example

{{Ability card v2
| hero_name=Abrams
| ability_num=2
| notes=
* At base duration, Shoulder Charge travels approximately 17.5m.
}}
Script error: The function "get_ability_card" does not exist.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
hero_namehero_name

Hero name to display card for

Example
Abrams
Stringrequired
ability_numability_num

Index of the ability to display ie. 1, 2, 3 or 4

Example
2
Numberrequired
notesnotes

Custom notes about the ability

Example
* At base duration, Shoulder Charge travels approximately 17.5m.
Stringoptional
link_namelink_name

Adds hyperlink to the name of the ability. Used in cases where the card is not on the hero's page

Default
false
Example
true
Booleanoptional