Template:Infobox skill
Creates an infobox with options to display valuable information such as cooldowns, charges, damage buckets, and so on.
Usage[edit source]
Skill descriptions may be confusing to write and include heavy template usage and substitution methods.
Cast a spell dealing <var:a> in a {{v|5m}} area and gain {{haste}} for {{v|8s}}
The description text above will:
- Bold "5m" and "8s" using Template:Value
- Color and write "HASTE" as a keyword using Template:Haste
- If the template also includes
|a=150
, <var:a> will be substituted with that value and have its maximum value calculated using Module:Description
While these steps may seem unnecessarily complicated, it is meant to reduce descriptive text rewrites to make maintenance easier.
All parameters[edit source]
{{Infobox skill |name = |image = |image2 = |image3 = |image4 = |image5 = |label = |label2 = |label3 = |label4 = |label5 = |image desc = |image desc2 = |image desc3 = |image desc4 = |image desc5 = |description = |a = |b = |c = |d = |e = |archetype = |tier = |cooldown = |ammo = |regenrate = |charges = |limit = |buckets = |status_effects = |is_aoe = }}
Template data[edit source]
Creates the infobox for skills
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the skill | String | required |
image | image | File name or direct embed.
| String | suggested |
image2 | image2 | no description | String | optional |
image3 | image3 | no description | String | optional |
image4 | image4 | no description | String | optional |
image5 | image5 | no description | String | optional |
label | label | Label for the image tab. ex. label3 matches the tab for image3 | String | optional |
label2 | label2 | no description | String | optional |
label3 | label3 | no description | String | optional |
label4 | label4 | no description | String | optional |
label5 | label5 | no description | String | optional |
image desc | image desc | A caption for the image. ex. image desc3 captions image3
| String | optional |
image desc2 | image desc2 | no description | String | optional |
image desc3 | image desc3 | no description | String | optional |
image desc4 | image desc4 | no description | String | optional |
image desc5 | image desc5 | no description | String | optional |
description | description | Descriptive text of the skill, not including the cooldown. Any changing variables between levels can be substituted with <var:a>, <var:b>, <var:c> and defined with a separate parameter for the corresponding letter. Colored text and keywords also often are formatted with a template. Always start with <var:a> in alphabetical order.
| String | required |
a | a | Base value to fill in for <var:a>. This will usually be a scaling value of some sort, such as damage scaled from power level. If no value is scaling, leave blank.
| Number | optional |
b | b | Base value to fill in for <var:b>
| Number | optional |
c | c | no description | Number | optional |
d | d | no description | Number | optional |
e | e | no description | Number | optional |
archetype | archetype | Archetype that the skill belongs to.
| Page name | required |
tier | tier | Skill tier. Tier is either I, II, or II depending on unlock level.
| String | optional |
cooldown | cooldown | Base cooldown of the skill. Make sure to not have any points in Expertise when considering this value.
| Number | required |
ammo | ammo | Amount of ammo held in the skill. This is for uncommon scenarios such as an Engineer turret.
| Number | optional |
regenrate | regenrate | Ammo regeneration rate. Analogous to cooldown, exclusively for use with Engineer.
| Number | optional |
charges | charges | Base maximum amount of charges stored by the skill.
| Number | optional |
limit | limit | Maximum amount active, useful in scenarios where there's a limit like Summoner minions.
| Number | optional |
buckets | buckets | Comma separated list of damage buckets the skill involves.
| String | optional |
status_effects | status_effects | A list of status effects applied by the skill. Effects such as OVERLOADED are independent of shock, though usually items with shock also apply OVERLOADED. Line break separated.
| String | optional |
is_aoe | is_aoe | Boolean flag judging whether something is effected by Area of Effect modifiers such as Amplitude. Can leave blank if no range exists in the skill in the first place.
| Boolean | suggested |