Template:Ability card v2/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
m Description added
Saag (talk | contribs)
m Example added
Line 1: Line 1:
== Overview ==
Displays an ability card using the data stored in [[Data:AbilityCards.json]]


=== Example ===
<pre>
<nowiki>{{Ability card v2
| hero_name=Abrams
| ability_num=2
| notes=
* At base duration, Shoulder Charge travels approximately 17.5m.
}}</nowiki>
</pre>{{Ability card v2
| hero_name=Abrams
| ability_num=2
| notes=
* At base duration, Shoulder Charge travels approximately 17.5m.
}}
<templatedata>
<templatedata>
{
{
Line 32: Line 48:
"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:41, 2 October 2024

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.
}}

Shoulder Charge


1.2s


37s

Charge forward, colliding with enemies and dragging them along. Hitting a wall will Stun enemies caught by Abrams. Speed increased after colliding with enemy Heroes.

Spirit Power#Spirit Power Scalingx2.1

40

Damage


0.85s

Stun Duration


Ability Point 1
-19s Cooldown


Ability Point 2
+0.5s Duration


Ability Point 5
+5.5 Weapon Damage for 8s after colliding with an enemy


Notes
  • At base duration, Shoulder Charge travels approximately 17.5m.

No description.

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