Template:AbilityInteraction/doc

From The Deadlock Wiki
Revision as of 15:52, 15 July 2026 by Vergir (talk | contribs) (update doc)
Jump to navigation Jump to search

Usage

{{AbilityInteraction}} displays a boxed note describing how an ability interacts with an item or mechanic. Under the hood it is a fancy wrapper around {{IconBox}}.

To use this template, look at the list of possible Interactions and examples of usage below.

Parameters

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
interactioninteraction

Name of the interaction in the registry. Case-insensitive, and aliases are accepted. The Interactions section of this page lists every available name.

Suggested values
(see full list below)
Example
debuff resist
Stringrequired
texttext

Wikitext shown in the box body. May contain wikilinks, templates such as AbilityIcon, and lists.

Contentrequired
statestate

Omit when the interaction applies normally. Use partial when it applies only in part, or disabled when it does not apply at all.

Suggested values
partial disabled
Stringoptional

Examples

Standard interaction

{{AbilityInteraction
| interaction = dispel
| text =
* Any dispel immediately "drops" the target off the cart.
}}
Dispel
  • Any dispel immediately "drops" the target off the cart.

Partial interaction

{{AbilityInteraction
| interaction = unstoppable
| state = partial
| text =
* Dispels and protects against [[Move Slow]].
* Does not dispel or protect against the accuracy debuff.
}}
Unstoppable
  • Dispels and protects against Move Slow.
  • Does not dispel or protect against the accuracy debuff.

Interaction that does not apply

{{AbilityInteraction
| interaction = slowing hex
| state = disabled
| text = This ability is '''not''' interrupted by [[Slowing Hex]].
}}
Slowing Hex

This ability is not interrupted by Slowing Hex.

Interactions

This table is generated from the registry, so it always matches what the template accepts.

Interaction Example
ability duration / duration / duration extender
Ability Duration

Example text.

ability range / range / greater expansion
Ability Range

Example text.

cooldown / ability cooldown / superior cooldown
debuff resist / debuff reducer
Debuff Resist

Example text.

dispel / dispel magic / purge / cleanse
Dispel

Example text.

echo shard
Echo Shard

Example text.

heal / healing / healing booster
Healing

Example text.

heroic aura
Heroic Aura

Example text.

indomitable
Indomitable

Example text.

interrupt / knockdown / stun
Interrupt

Example text.

monster rounds
Monster Rounds

Example text.

plated armor
Plated Armor

Example text.

reactive barrier
Reactive Barrier

Example text.

slowing hex
Slowing Hex

Example text.

stealth / Veil Walker
Stealth

Example text.

unstoppable
Unstoppable

Example text.

Adding an interaction

Add an entry to the REGISTRY table at the top of Module:AbilityInteraction. An entry should contain title, type, iconfile, and link, which pass down to the underlying {{IconBox}}. The aliases just specifies different ways to write an interaction.