Difference between revisions of "Template:Ability box"
From Tales of Maj'Eyal
(Improved documentation) |
(Copy edit) |
||
Line 60: | Line 60: | ||
;name | ;name | ||
− | :The name of the ability, the way it is written in game. | + | :The name of the ability, the way it is written in game. The current convention on the wiki is to use all lower case letters (the first letter is automatically capitalized). |
;image | ;image |
Revision as of 18:57, 6 August 2014
[[{{{name}}} (talent)|{{{name}}}]] | ||
(no image) | ||
Category Type | - | |
---|---|---|
Category | - | |
Requirements | - | |
Use Mode | - | |
Range | Melee/Personal | |
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= |use_mode= |range= |cost= |cooldown= |travel_speed= |use_speed= |desc= }}
- name
- The name of the ability, the way it is written in game. The current convention on the wiki is to use all lower case letters (the first letter is automatically capitalized).
- image
- Image file for this ability. This is typically the name of the talent with a .png extension. The image for Chant of Fortitude is Chant of fortitude.png for example. If you cannot find a match, leave this parameter blank and it will default to the (no image) text.
- category_type
- The upper-level category group type. If the talent is shown as Chronomancy/Energy, the category type would be Chronomancy. See Talents for this list.
- category
- The lower-category type (aka talent tree). If the talent is shown as Chronomancy/Energy, then the category would be Energy.
- require
- Requirements for the ability. Use the correct template from 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}}
- use_mode
- How the talent is used. Enter Passive, Activated, or Sustained.
- range
- The distance over which the ability can be used. This will default to Melee/Personal if no range is specified and the use mode is not passive. Enter Archery Range if this ability effectively uses your bow/sling range instead.
- cost
- Ability cost in resources. Enter, for example, 10 Stamina or 15 Mana.
- cooldown
- Number of turns until the ability can be used again. Just enter a number directly like 5 without typing in "turns".
- travel_speed
- The speed at which the talent moves, if it has range. This is usually listed in the talent description or code. The number given indicates the speed in units of square per turn. The default speed for most projectiles is 10 squares per turn (e.g. basic bow/sling shots). Leave this field blank otherwise.
- use_speed
- How much time this ability takes to be used. This defaults to 1 turn if the use mode is not Passive. Enter Instant if it is an instant use talent.
- 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.