Template:AbilityInteraction/doc: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Vergir (talk | contribs)
m clarify docs
Vergir (talk | contribs)
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  = The duration of movement slow and accuracy debuff can be shortened with [[Debuff Resist]].
| 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  = The duration of movement slow and accuracy debuff can be shortened with [[Debuff Resist]].
| 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]].
| state = disabled
}}
}}
</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]].
| state = disabled
}}
}}


<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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

Text shown in the box header.

Stringrequired
texttext

Wikitext shown in the box body. May contain wikilinks, templates such as AbilityIcon, and <br> for multiple lines.

Contentoptional
typetype

Header colour: positive (green), negative (red), or info (blue).

Suggested values
positive negative info
Stringrequired
filefile

File name of the icon image, without the File: prefix.

Example
Healing Booster.png
Stringrequired
linklink

Where the header and icon link. A bare page name (e.g. Healing Booster) or a full URL.

Example
Healing Booster
Stringrequired
statestate

Set to disabled to desaturate the icon.

Suggested values
disabled
Stringoptional

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