(test) |
No edit summary |
||
Line 1,352: | Line 1,352: | ||
{{!}} {{#switch: {{{damagetype|}}} |
{{!}} {{#switch: {{{damagetype|}}} |
||
<!--Physical--> |
<!--Physical--> |
||
− | <b><span style="color:#71A9EA"> |
+ | | Physical = <b><span style="color:#71A9EA">{{lang |
| en = [[Damage types#Physical|Physical]] |
| en = [[Damage types#Physical|Physical]] |
||
| de = [[Damage types/de#Physisch|Physisch]] |
| de = [[Damage types/de#Physisch|Physisch]] |
Revision as of 18:55, 4 January 2016
|
Template:Translation switching
Usage
Every time a parameter is edited in this template, be sure to edit the wrapper template as well.
{{Ability | ID = | intern = | name = | image = | sound = | type = | description = | lore = | target = | target2 = | affects = | affects2 = | damagetype = | damagetype2 = | key = | legacy key = | piercesdbi = <!-- Notes in this section have color support for upgrades. --> | dbitext1 = <!-- Affects spell immune enemies.;agh/shard/tal --> | linkenblock = | linkentext1 = | illusionuse = | illusiontext1 = | breakable = | breaktext1 = | disjointable = | disjointtext1 = | rootdisables = | roottext1 = | oncastproc = | oncasttext1 = | buff1 = | buff1text = | buff1dispel = | debuff1 = | debuff1text = | debuff1dispel = | cast point = | cast backswing = | cast immediate = <!-- true, if instant cast time --> | trait1 = Cast Range | trait1 amp = <!-- range increase type --> | value1 = | trait2 = | value2 = | trait3 = | value3 = | trait4 = | value4 = | trait5 = | value5 = | mana = | currentmana = | maxmana = | cooldown = | aghanimsupgrade = new;ability_name;other_descriptions | aghshard = new;ability_name;other_descriptions | adtext = | adtext aghs = | adtext shard = | subability = | linkedability = linkedability&source | notes = }}
Definition
Attribute | Description |
---|---|
ID | Unique ID of the ability according to npc_abilities.txt . Only displays on hover as the image caption.
|
name | The name of the ability. Copy the exact in-game name. |
image | Ability icon, if one exists. Use Unknown_icon.png if the ability has no icon. Leave out if the ability belongs to an item. |
sound | Sound effect(s) of the ability, if one exists. No limit to how many sounds can be listed (sound/sound2/sound3/etc), but cargo only stores the first 3. |
type | Valid options: ultimate, item, aghanims, npc, hero, talent, rune. Defaults to Hero if left out. |
description | Official in-game description of the ability. Use status buff/debuff description if the ability has no official description. |
lore | Lore text of the ability, which is located at the very bottom of the ability tooltips. Leave blank if no lore is present. |
target | The (targeting) type of the ability. See below for valid entries. If ability has multiple types, use "target2" as well. |
affects | Tells which units the ability affects. See below for valid entries. If ability can affect multiple groups of units, use "affects2" as well. |
damagetype | The damage type dealt by the ability if it deals damage. See below for valid entries. If ability uses multiple damage types, use "damagetype2" as well. |
key | The Dota2 default hotkey for the ability. |
legacy key | The original DotA1 (legacy) hotkey of the ability. |
bkbblock | Use to tell whether the ability is blocked by spell immunity or not: Options: Yes, No, Partial |
bkbtext# | Extra note about spell immunity interaction. |
linkenblock | Use for single-target spells only, to tell whether Spell Block blocks the spell or not. Options: Yes, No, Partial |
linkentext# | Extra note about Spell Block interaction. |
breakable | Use for passive abilities (or abilities with a passive component) to tell whether the passive ability/component is disabled by Break: Options: Yes, No, Partial |
breaktext# | Extra note about Break interaction. |
illusionuse | Use to tell whether the ability can be used by illusions or not. Options: Yes, No, Partially |
illusiontext# | Extra note about illusion usability. |
rootdisables | Use to tell whether the ability can be used while rooted. Leave out if the ability can be used while rooted. Options: Yes, No, Partially |
roottext# | Extra note about rooted. |
oncastproc | Use to tell whether the ability can proc on-cast effects. Leave out if the ability can proc on-cast effects. |
oncasttext# | Extra note about on-cast effects. |
buff# | Enter the name of the buff the ability uses. Leave out if the ability uses no buffs. |
buff#text | Enter the display name of the buff the ability uses on battle log. Leave out if buff uses the same name. |
buff#dispel | Tell whether the buff is dispellable or not. Options: Any/Strong/None |
debuff# | Enter the name of the debuff the ability uses. Leave out if the ability uses no debuffs. |
debuff#text | Enter the display name of the debuff the ability uses on battle log. Leave out if debuff uses the same name. |
debuff#dispel | Tell whether the debuff is dispellable or not. Options: Any/Strong/None |
cast point | The time the unit needs to execute the spell. Do not use this for channeling times or on active attack modifier. Use "cast point aghs" for Aghanim's Scepter value. |
cast backswing | The remaining animation after cast the unit goes through when not canceled. Use "cast backswing aghs" for Aghanim's Scepter value. |
trait# | First unique trait of the ability. Keep as short as possible and use consistent wording throughout the wiki. Words should be capitalized. Up to 15 traits are allowed. |
trait#amp | accepted values are castrange , attackrange , both , aoeradius . Used to indicate if cast/attack range (or both) increases the value of the trait.
|
value# | The value corresponding to the trait. Avoid using words. An accepted exception is "Global". Up to 15 values are allowed. Use "value# aghs" for Aghanim's Scepter value. |
mana | The flat mana cost of the ability. Use "mana aghs" for Aghanim's Scepter value. |
currentmana | The mana cost of the ability based on the current mana pool. |
maxmana | The mana cost of the ability based on the maximum mana pool. |
cooldown | The cooldown time of the ability. Do not use for recharge times. Use "cooldown aghs" for Aghanim's Scepter value, "cooldown shard" for Aghanim's Shard value, "cooldown tal" for talent value, "cooldown aghs tal" for Aghanim's Scepter plus talent value, and "cooldown shard tal" for Aghanim's Shard plus talent value. |
linkedability / subability | |
aghanimsupgrade | The Aghanim's Scepter upgrade text. Use official ingame text. |
aghshard | The Aghanim's Shard upgrade text. Use official ingame text. |
adtext / adtext aghs / adtext shard | For Ability Draft ability notes only. |
notes | Anything else about the ability goes here. Only Mechanics and special interactions. DO NOT ADD TIPS TO NOTES, use the tips/guides section for tips. |
Valid Entries
- Refer to the Module:Ability for target/target2 Valid Entries.
- Use one value for the
affects
parameter! - If an ability affects several types, use
affects2
after filling inaffects
. - Same rules apply for
damagetype
anddamagetype2
- Physical, Magical, Pure
Target = No Target Target2 = Channeled Target = Target Point Target2 = Target Area aghs
will display: No Target / Channeled or Target Point ( Target Area)
Examples
|
Template:Lang:
|
Template:Lang:
|
|
Template:Lang:
|
Depreciated Functions
- The following Cargo Tables are no longer needed. They are merged into the main Ability and Ability/traits cargo and
{{#explode:}}
is used for{{Ability wrapper}}
to function. - Cargo no longer stores
valuen_aghstal
andvaluen_shardtal
, most pages do not query for them.- These values will be manually added to
{{Ability wrapper}}
if needed.
- These values will be manually added to