Template:AbilityInteraction/docGive feedback
Usage
{{AbilityInteraction}} displays a boxed note describing how a specific ability interacts with an item or mechanic. It is intended for hero and ability pages, where several boxes are usually stacked together. Each call renders one box: a coloured header and a body.
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. The link parameter accepts either a bare page name or a full URL.
Examples
{{AbilityInteraction
| type = positive
| file = Healing Booster.png
| link = Healing Booster
| title = Healing Booster
| text = The [[Healing]] from this ability is amplified.
}}
AbilityInteraction: no interaction specified
{{AbilityInteraction
| type = info
| file = Slowing Hex.png
| link = Slowing Hex
| title = Slowing Hex
| text = This ability is '''not''' interrupted by [[Slowing Hex]].
| state = disabled
}}
AbilityInteraction: no interaction specified
Displays a boxed note describing how an ability interacts with an item or mechanic. One call renders one box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Header title | title | Text shown in the box header. | String | required |
| Body text | text | Wikitext shown in the box body. May contain wikilinks, templates such as AbilityIcon, and <br> for multiple lines. | Content | required |
| Colour preset | type | Header colour: positive (green), negative (red), or info (blue).
| Line | optional |
| Icon file | file | File name of the icon image, without the File: prefix.
| File | optional |
| Link target | link | Where the header and icon link. A bare page name (e.g. Healing Booster) or a full URL.
| String | optional |
| State | state | Set to disabled to desaturate the icon.
| Line | optional |