User:Vergir/AbilityInteraction

Revision as of 16:31, 29 April 2026 by Vergir (talk | contribs) (Update interaction header colors (with help from vergir-bot LLM))

Overview

Renders a single styled interaction row for use inside the interactions= parameter of User:Vergir/AbilitySection.

Parameters

Parameter Description Required
type Interaction type key. Must be one of the valid values below. Yes
text Description of the interaction. movement_restriction and charges have a built-in default; all other types require explicit text. No (for movement_restriction/charges), Yes (for all others)

Color is determined automatically by type — editors do not set it.

Valid type values

Adding a new type requires updating the four #switch blocks in this template (color, icon, label, default text).

Vitality (dark green, #3d5632)
Spirit (dark purple, #624877)

Example

<!-- With custom text -->
{{User:Vergir/AbilityInteraction
| type = counterspell
| text = [[Counterspell]] blocks the slow and accuracy debuff, but not the damage.
}}

<!-- Using default text -->
{{User:Vergir/AbilityInteraction
| type = charges
}}