User:Vergir/AbilityInteraction/doc

Revision as of 13:06, 30 April 2026 by Vergir (talk | contribs) (Write AbilityInteraction/doc (with help from vergir-bot LLM))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

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

All type definitions (label, icon, color, default text) live in Module:Vergir/InteractionTypes. Adding a new interaction type only requires editing that module — no template changes needed.

Parameters

Parameter Description Required
type Interaction type key. Must match an entry in Module:Vergir/InteractionTypes. Yes
text Custom description. If omitted, a default description is shown in grey italics. No

Valid type values

Vitality interactions (green header)
Spirit interactions (purple header)

Example

{{User:Vergir/AbilityInteraction
| type = counterspell
| text = Counterspell blocks the slow and accuracy debuff, but not the damage.
}}

{{User:Vergir/AbilityInteraction
| type = charges
}}

The second example omits text=, so the default description from Module:Vergir/InteractionTypes is shown in grey italics.