Template:AbilityInteraction/doc

From The Deadlock Wiki
Jump to navigation Jump to search

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