Template:Skill

From Path of Exile Wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]


Lua logo

This template uses the following modules:

Overview

Template to store semantic skill and skill level progression data for use in other templates or pages such as Template:Item or Template:Skill progression.

Parameters

All parameters if available should be filled in.

General parameters

Parameter Type Optional PyPoE Field Description
skill_id str
skill.skill_id The (internal) skill id of the skill
cast_time float
skill.cast_time Cast time (or animation time) in seconds

Only active skills.

gem_description str
skill.description The description of the active skill (i.e. what it says when you hover over it in the skill bar).

Only active skills.

active_skill_name str
skill.active_skill_name Name of the active skill

Only active skills.

item_class_id_restriction list[str]
skill.item_class_id_restriction

skill.item_class_restriction

Comma separated list of item class restrictions. Please note that the class ID and not the localized version must be used; the localized version is available as skill.item_class_restriction field once set.

Only active skills.

projectile_speed int
*
skill.projectile_speed Speed of the projectile(s) fired by the skill
stat_text str
skill.stat_text Stat text spanning the entire progression of the skill gem
radius int
skill.radius Primary radius.
radius_description str
skill.radius_description Description to clarify what the primary radius does.
radius_secondary int
skill.radius_secondary Secondary radius.
radius_secondary_description str
skill.radius_secondary_description Description to clarify what the secondary radius does.
radius_tertiary int
skill.radius_tertiary Tertiary radius.
radius_description str
skill.radius_tertiary_description Description to clarify what the tertiary radius does.
skill_screenshot str
skill.skill_screenshot Name of the skill to use for the skill screenshot instead of the value of active_skill_name.

Specifying this parameter will also force the skill screenshot to appear, even if the file does not exist.

Should not be specified unless the active skill name is ambiguous

skill_screenshot_file str
skill.skill_screenshot Full name of the file (excluding File:) of the screenshot for this skill.

Specifying this parameter will also force the skill screenshot to appear, even if the file does not exist.

Should not be specified unless the active skill name is ambiguous

Progression parameters

These parameters can be used to two ways:

  • static_ - for progression parameters that are the same at all levels
  • level<N>_ - for progression parameters that are variable

Replace <N> with the level the arguments are. Start numbers with 1, and don't leave gaps. In addition, for each enabled level level<N> = True has to be set.

Replace <P> With the appropriate parameter from above.

Parameter Type Optional PyPoE Field Description
<P>_level_requirement int
skill_levels.level_requirement The level requirement
<P>_dexterity_requirement int
skill_levels.dexterity_requirement Dexterity requirement
<P>_strength_requirement int
skill_levels.strength_requirement Strength requirement
<P>_intelligence_requirement int
skill_levels.intelligence_requirement Intelligence requirement
<P>_mana_multiplier int
skill_levels.mana_multiplier Mana multiplier in percent
<P>_attack_time float
skill_levels.attack_time Attack time in seconds. Used for attack skills that don't use a weapon or unarmed.
<P>_critical_strike_chance int
skill_levels.critical_strike_chance Critical strike chance in percent
<P>_damage_effectiveness int
skill_levels.damage_effectiveness Damage effectiveness in percent
<P>_stored_uses int
skill_levels.stored_uses Stored usages (i.e. for Traps or Mines). Some other skills may also store "uses" for the purposes of cooldown calculations.

For vaal skills use vaal_stored_uses

<P>_cooldown float
skill_levels.cooldown Cooldown in seconds
<P>_vaal_souls_requirement int
skill_levels.vaal_souls_requirement Base Vaal souls requirement (without increases from Act 5 or Act 10)
<P>_vaal_stored_uses int
skill_levels.vaal_stored_uses Stored vaal usages

For regular skill use stored_uses

<P>_vaal_soul_gain_prevention_time float
skill_levels.vaal_soul_gain_prevention_time Time in seconds in which you can't gain vaal souls after using the skill
<P>_damage_mutliplier str
skill_levels.damage_multiplier Damage multiplier of the skill in percent
<P>_attack_speed_multiplier str
skill_levels.attack_speed_multiplier Multiplier to the attack speed.

Default: 100

<P>_stat_text str
skill_levels.stat_text Stat text spanning the entire level of the skill gem
<P>_quality_stat_text str
skill_levels.quality_stat_text Stat text for the quality bonus spanning the entire level of the skill gem
<P>_experience int
skill_levels.experience Total amount of experience for this level.

Only for skill gems.

Costs and reservations

Skill costs and reservations are defined using the parameters described in this section. All are optional.

Costs and reservations are defined similarly to progression parameters. Replace <P> with one of the following:

  • static_ – for costs and reservations that are the same at all levels
  • level<N>_ – for costs and reservations that vary by skill level. Replace <N> with the skill level number, starting with 1.
Parameter Type PyPoE Field Description
static_cost_types List of strings
skill_levels.cost_types A comma-separated list of strings containing the cost types used by the skill.

Any combination of the following cost types can be used:

  • Mana
  • Life
  • ES
  • Rage
  • ManaPercent
  • LifePercent
<P>_cost_amounts List of integers
skill_levels.cost_amounts A comma-separated list of integers containing the cost amounts corresponding to the cost types defined by static_cost_types. The order of the cost amounts must match the order of the cost types. Each list should also have the same number of elements.
<P>_mana_reservation_flat integer
skill_levels.mana_reservation_flat The flat amount of mana reserved by the skill.
<P>_mana_reservation_percent integer
skill_levels.mana_reservation_percent The percentage amount of mana reserved by the skill.
<P>_life_reservation_flat integer
skill_levels.life_reservation_flat The flat amount of life reserved by the skill.
<P>_life_reservation_percent integer
skill_levels.life_reservation_percent The percentage amount of life reserved by the skill.

The following parameters would be used for a skill that both costs and reserves a flat amount of mana, varying by level. Only the first two levels are shown.

|static_cost_types = Mana
|level1_cost_amounts = 6
|level1_mana_reservation_flat = 6
|level2_cost_amounts = 7
|level2_mana_reservation_flat = 7

Progression stats

Replace <M> with the number of the argument. Start numbers with 1, and don't leave gaps. The order matters and each parameter must be specified for an individual element of M. Code support: 1 <= M <= 8

Replace <P> with the appropriate parameter from above.

Please note that the stats will be placed as into the properties as multi-value.

Parameter Type Optional Property Description
<P>_stat<M>_id str
skill_stats_per_level.id

skill_stats_per_level.is_quality_stat=0

The internal id of the stat
<P>_stat<M>_value int
skill_stats_per_level.value

skill_stats_per_level.is_quality_stat=0

The associated value with the stat
<P>_quality_stat<M>_id str
skill_stats_per_level.id

skill_stats_per_level.is_quality_stat=1

The internal id of the quality stat
<P>_quality_stat<M>_value int
skill_stats_per_level.value

skill_stats_per_level.is_quality_stat=1

The associated value with the quality stat

Example of valid stat parameters:

static_stat1_id=
static_stat1_value=
static_stat2_id=
static_stat2_value=
static_quality_stat1_id=
static_quality_stat1_value=
level1_stat1_id=
level1_stat1_value=
level1_quality_stat1_id=
level1_quality_stat1_value=
level2_stat1_id=
level2_stat1_value=
level2_stat2_id=
level2_stat2_value=

Categories

Pages that transclude {{skill}} are added to Category:Skill data automatically.

Pages that use any parameters marked as deprecated are added to Category:Pages using deprecated parameters for skill data.

Cargo table declarations

See also