Template:Ability card v2/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Created page with " <templatedata> { "params": { "hero_name": { "description": "Hero name to display card for", "example": "Abrams", "type": "string", "required": true }, "ability_num": { "description": "Index of the ability to display ie. 1, 2, 3 or 4", "example": "2", "type": "number", "required": true }, "link_name": { "description": "Adds hyperlink to the name of the ability. Used in cases where the card is not on the hero's page", "example": "t..."
 
Saag (talk | contribs)
m Description added
Line 32: Line 32:
"notes",
"notes",
"link_name"
"link_name"
]
],
"description": "Displays an ability card using the data stored in Data:AbilityCards.json"
}
}
</templatedata>
</templatedata>

Revision as of 23:37, 2 October 2024

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

Template parameters

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