Difference between revisions of "Template:Ability box"
From Tales of Maj'Eyal
(Set default use speed to 1 turn) |
(Added conditional to exclude passives from having use speed) |
||
Line 30: | Line 30: | ||
|- | |- | ||
! scope="col" width="100px" |Use Speed | ! scope="col" width="100px" |Use Speed | ||
− | | {{{use_speed|1 turn}}} | + | | {{#switch: {{{use_mode}}} | Passive | passive = - | {{{use_speed|1 turn}}} }} |
|- | |- | ||
! scope="col" width="100px" valign="top" |Description | ! scope="col" width="100px" valign="top" |Description |
Revision as of 19:25, 5 August 2014
[[{{{name}}} (talent)|{{{name}}}]] | ||
(no image) | ||
Category Type | - | |
---|---|---|
Category | - | |
Requirements | - | |
Use Mode | - | |
Range | - | |
Cost | - | |
Cooldown | - | |
Travel Speed | - | |
Use Speed | 1 turn | |
Description | - |
Use this template on pages that define a talent or item ability. For NPC-only talents/abilities use Template:Ability_box/npc.
{{Ability_box |name= |image= |category_type= |category= |require= |range= |cost= |use_mode= |cooldown= |use_speed= |travel_speed= |desc= }}
- name
- The name of the ability, the way it is written in game
- image
- Image file for this ability. This is typically the name of the talent with a .png extension (Chant of fortitude (talent) is "Chant of fortitude.png". If you can't find a match, leave it blank.
- category_type
- The top-level category group type; in "Chronomancy/Energy" it would be Chronomancy. See Talents for this list.
- category
- The sub-category type (aka "tree"); in "Chronomancy/Energy" it would be Energy.
- require
- Requirements for the ability. Use the correct template from Template:TalentReq!
- For example, if the talent's source code looks like:
require = cuns_req4,
- then you should use this value in the template:
|require={{TalentReq/CunsReq4}}
- cost
- Ability cost (mana, vim, hate, stamina) etc.
- cooldown
- Time until the ability can be used again.
- range
- The distance over which the ability can be used. If it only affects the player, use "personal"; or if for melee (one square away) attack use "melee".
- use_speed
- How much time this ability takes to be used; if none, use "instant".
- travel_speed
- The speed at which the talent moves, if it has range. This is usually listed in the talent description or code. For melee/personal leave this blank.
- use_mode
- How talent is used - passive, activated, or sustained.
- desc
- Description of the ability as it appears in game. Remember that any numbers you see in game are specific to your character! When in doubt use variables ("X" or "Y"), or look into the code to determine the formula used.