Difference between revisions of "Skill info/Documentation"

m (→‎Usage: Update usage)
m (→‎Parameters: Added custom attributes)
Line 22: Line 22:
  
 
{{bullet}} '''cooldown''': Optional. How long it takes for the skill to be recast again.
 
{{bullet}} '''cooldown''': Optional. How long it takes for the skill to be recast again.
 +
 +
===Custom Attributes===
 +
You can add up to 5 optional custom attributes to the infobox. To add one, replace the "X" character in the following parameters with a number between 1 and 5 inclusive.
 +
 +
{{bullet}} '''nameX''': The name of the custom attribute.
 +
 +
{{bullet}} '''valueX''': The value of the custom attribute.
 +
 +
{{bullet}} '''unitX''': Optional. The units of the custom attribute. Defaults to no units.
  
 
==Usage==
 
==Usage==

Revision as of 18:47, 17 February 2023

Description

Displays an information page about a Skill.

Parameters

To denote changes to a value as the skill levels up, add a "/" between each levelled up stat.

order: Optional. Defines where the skill appears in a list.

icon: Optional. The skill icon.

hero: The Hero the skill is from.

mastery: The Weapon Mastery the skill is from.

description: A description of what the skill does.

cast-time: Optional. The amount of time the skill takes to cast.

cost: Optional. How much the skill costs to cast.

cost-type: Optional. What the skill costs.

cooldown: Optional. How long it takes for the skill to be recast again.

Custom Attributes

You can add up to 5 optional custom attributes to the infobox. To add one, replace the "X" character in the following parameters with a number between 1 and 5 inclusive.

nameX: The name of the custom attribute.

valueX: The value of the custom attribute.

unitX: Optional. The units of the custom attribute. Defaults to no units.

Usage

{{skill info
| order = 3
| icon = E (Berserker).png
| hero = mercenary
| mastery = berserker
| description = The Berserker leaps into the target location, stunning all enemies within the blast radius for 1 second and dealing '''physical damage (Dexterity)'''.

The leap generates 25 rage.
| name1=Damage|value1=50/65/80/95/110/125/140/155/170/185/200/215
| cooldown = 15
}}