Template:AbilityInteraction/doc: Difference between revisionsGive feedback
m clarify docs |
mNo edit summary |
||
| Line 59: | Line 59: | ||
| link = Melee Charge | | link = Melee Charge | ||
| title = Melee | | title = Melee | ||
| text = This ability benefits from Melee damage bonuses and triggers relevant item effects. | | text = | ||
* This ability benefits from Melee damage bonuses and triggers relevant item effects. | |||
* Once a T3 upgrade is acquired it's considered a Heavy Melee attack. | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 67: | Line 69: | ||
| link = Melee Charge | | link = Melee Charge | ||
| title = Melee | | title = Melee | ||
| text = This ability benefits from Melee damage bonuses and triggers relevant item effects. | | text = | ||
* This ability benefits from Melee damage bonuses and triggers relevant item effects. | |||
* Once a T3 upgrade is acquired it's considered a Heavy Melee attack. | |||
}} | }} | ||
| Line 77: | Line 81: | ||
| link = Debuff Reducer | | link = Debuff Reducer | ||
| title = Debuff Resist | | title = Debuff Resist | ||
| text = | | text = | ||
[[Debuff Resist]] shortens the duration of movement slow and accuraccy debuff. | |||
The duration of damage-over-time effect is '''not''' shortened. | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 85: | Line 92: | ||
| link = Debuff Reducer | | link = Debuff Reducer | ||
| title = Debuff Resist | | title = Debuff Resist | ||
| text = | | text = | ||
[[Debuff Resist]] shortens the duration of movement slow and accuraccy debuff. | |||
The duration of damage-over-time effect is '''not''' shortened. | |||
}} | }} | ||
| Line 96: | Line 106: | ||
| link = Slowing Hex | | link = Slowing Hex | ||
| title = Slowing Hex | | title = Slowing Hex | ||
| state = disabled | |||
| text = This ability is '''not''' interrupted by [[Slowing Hex]]. | | text = This ability is '''not''' interrupted by [[Slowing Hex]]. | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 105: | Line 115: | ||
| link = Slowing Hex | | link = Slowing Hex | ||
| title = Slowing Hex | | title = Slowing Hex | ||
| state = disabled | |||
| text = This ability is '''not''' interrupted by [[Slowing Hex]]. | | text = This ability is '''not''' interrupted by [[Slowing Hex]]. | ||
}} | }} | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Revision as of 14:46, 14 July 2026
Usage
{{AbilityInteraction}} displays a boxed note describing how a specific ability interacts with an item or mechanic.
The header colour is set by the type parameter (positive, negative, or info). Setting state=disabled desaturates the icon to mark an interaction that does not apply.
Parameters
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | Text shown in the box header. | String | required |
| text | text | Wikitext shown in the box body. May contain wikilinks, templates such as AbilityIcon, and <br> for multiple lines. | Content | optional |
| type | type | Header colour: positive (green), negative (red), or info (blue).
| String | required |
| file | file | File name of the icon image, without the File: prefix.
| String | required |
| link | link | Where the header and icon link. A bare page name (e.g. Healing Booster) or a full URL.
| String | required |
| state | state | Set to disabled to desaturate the icon.
| String | optional |
Examples
Positive Interaction
{{AbilityInteraction
| type = positive
| file = Melee Charge.png
| link = Melee Charge
| title = Melee
| text =
* This ability benefits from Melee damage bonuses and triggers relevant item effects.
* Once a T3 upgrade is acquired it's considered a Heavy Melee attack.
}}
AbilityInteraction: no interaction specified
Negative Interaction
{{AbilityInteraction
| type = negative
| file = Debuff Reducer.png
| link = Debuff Reducer
| title = Debuff Resist
| text =
[[Debuff Resist]] shortens the duration of movement slow and accuraccy debuff.
The duration of damage-over-time effect is '''not''' shortened.
}}
AbilityInteraction: no interaction specified
Neutral interaction with disabled state
{{AbilityInteraction
| type = info
| file = Slowing Hex.png
| link = Slowing Hex
| title = Slowing Hex
| state = disabled
| text = This ability is '''not''' interrupted by [[Slowing Hex]].
}}
AbilityInteraction: no interaction specified