GuildWiki:Skill templates

This article describes the general usage of the various skill templates used on GuildWiki. The current templates were designed to try to make it as simple as possible for editors to use them while still being flexible and powerful.

This is not an explanation of how the templates work. For those curious, view the source for the various templates or pages they're used in. Feel free to ask questions on the templates' talk pages.

Skill data templates
Skill data for each skill is placed in a template with the same name as the skill. This template should have the following general form:

There are various different possible parameters as described in the below sections. No skill will have every parameter, but each skill should at least have campaign, description, name, profession, and type as described in the Template:Skill box section below.

Parameters
This section lists various parameters used by the skill box templates. However, it is likely to not be exhaustive. While any template can use any parameter that has been placed into a skill data template, this is not the case in practice. The parameters listed under Template:Skill box are likely to be widely used but the others are generally only used in the templates they are listed under.

A description of possible values for parameters is given. However, there is no check to make sure that the values provided are valid. Providing incorrect or invalid values will lead to undefined behavior of a template. When "unset" is a possible value for a parameter, the parameter should not appear at all in the skill list as opposed to being equal to a blank value.

Template:Skill box parameters
These parameters can be considered the basic parameters that describe a skill in general.

attribute
Description: The skill's linked attribute.

Values: An attribute name, capitalized as it is in game (title case). This is used for categorization, display in skill boxes, and in determining the maximum attribute rank for progression tables.

campaign
Description: The skill's campaign.

Values: "Core", "Prophecies", "Factions", or "Nightfall". This is used for categorization and display in skill boxes.

description
Description: The skill's description.

Values: The exact text of the description from in game without the type at the beginning or attribute at the end. Terms in this text should be wikilinked. This is shown in some skill boxes.

elite
Description: Flag for elite skills.

Values: Any or unset. If this is not set or has any value other than "yes", the skill will not be considered elite. This is used for various purposes.

icon
Description: The file name for the skill's icon, not including the extension.

Values: Any or unset. If this is set, then "icon.jpg" will be used as the skill's icon. Otherwise, "name.jpg" will be used.

name
Description: The skill's name.

Values: The exact name of the skill, capitalized as it is in game. This is used for categorization and display in skill boxes.

type
Description: The skill's skill type.

Values: The exact type of the skill, capitalized as it is in game. This is used for categorization and display in skill boxes.

profession
Description: The skill's profession.

Values: "Warrior", "Ranger", "Mesmer", "Monk", "Elementalist", "Necromancer", "Assassin", "Ritualist", "Dervish", "Paragon", "Monster", or left unset. This is used for categorization, display in skill boxes, and to display the profession's icon ("profession"-icon.png").

activation
Description: The skill's activation time.

Values: "1⁄4", "1⁄2", "3⁄4", a positive whole number, or unset. This is used for display in most skill boxes.

adrenaline
Description: The skill's adrenaline cost.

Values: A positive whole number or unset. This is used for display in most skill boxes.

energy
Description: The skill's energy cost.

Values: "5", "10", "15", "25" or unset. This is used for display in most skill boxes.

exhaustion
Description: Flag for skills which cause exhaustion when used. Not to be set for skills like Arcane Languor.

Values: Any or unset. If this is not set or set to any value other than "yes" the skill will be considered to not cause exhaustion. This is used for display in most skill boxes.

recharge
Description: The skill's recharge time.

Values: A positive whole number or unset. This is used for display in most skill boxes.

req
Description: The skill's usage requirement, currently only used for assassin chain skills.

Values: "lead", "offhand", "dual", "hex", "enchantment", or unset. This is used for display in most skill boxes.

sacrifice
Description: The skill's sacrifice cost.

Values: A percentage or range of percentages (such as "1...3%"). This is used for display in most skill boxes.

upkeep
Description: The skill's upkeep cost.

Values: "-1" or unset. This is used for display in most skill boxes.

progression_0_effect
Description: The effect name to put in the first column of progression tables.

Values: Any or unset. If this is set, progression_0_0 and progression_0_15 should be set.

progression_0_0
Description: The skill's value for effect 0 at an attribute rank of 0.

Values: Integer or unset.

progression_0_15
Description: The skill's value for effect 0 at an attribute rank of 15.

Values: Integer or unset.

Other progression parameters
progression_X_effect, progression_X_0, and progression_X_15 where X is a value from 0 to 3 may be used. If progression_Y_effect is used, then it must be set for all values from 0 to Y.

nocats
Description: Flag for whether or not normal auto-categorization should be used.

Values: "yes" or unset. If unset or set to any value other than "yes", normal auto-categorization will be done in Template:Skill box. This should be set for "yes" for all non-player skills and PvE-only skills.

armorbonus
Description: The amount of armor added/removed by the skill.

Values: An integer or range of integers.

armorlength
Description: The duration of the armor modification effect.

Values: Seconds or range of seconds.

armornotes
Description: The skill's details and effects other than modifying armor.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

disabledur
Description: The duration of the disable.

Values: Seconds or a range of seconds.

disablenotes
Description: The skill's details and effect other than disabling.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

disabletype
Description: The class of skill that this can disable.

Values: A skill type or "action".

enchantremovalnotes
Description: The skill's details and effects other than enchantment removal.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

enchantsremoved
Description: The number of enchantments the skill removes.

Values: A positive whole number or range of positive whole numbers.

Template:Skill box fail-specific parameters
Template needs reworking.

failnotes
Description: The skill's details and effects other than causing failure.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

failtype
Description: The class of skill that this can cause to fail.

Values: A skill type or "action".

hexremovalnotes
Description: The skill's details and effects other than hex removal.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

hexesremoved
Description: The number of hexes the skill removes.

Values: A positive whole number or range of positive whole numbers.

ias
Description: The IAS skill's IAS value.

alues: A percentage or range of percentages (such as "25%" or "-10...30%"). This is used for display.

iasdur
Description: The IAS skill's duration.

Values: Seconds or a range of seconds ("5s" or "5...10s"). This is used for display.

iasnotes
Description: The skill's details and effects other than attack speed modification.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

prepdur
Description: The preparation's duration.

Values: Seconds or a range of seconds ("5s" or "5...10s"). This is used for display.

prepeffect
Description: The preparation's effect and details.

Values: Any. Keep it short and do not use complete sentences. This is used for display.

duplicate
Description: The name of the skill's duplicate.

Values: The exact name of the skill, capitalized as it is in game, or unset. This is used to display the duplicate skill's icon.

quest
Description: Flag for questable skills.

Values: Any or unset. If this is not set or has any value other than "yes", the skill will not be considered questable. A green exclamation mark is displayed for questable skills.