User:Vergir/AbilityInteraction/docGive feedback
Jump to navigation
Jump to search
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)
unstoppable— Unstoppablecounterspell— Counterspelldebuff_resist— Debuff Resistdispel_magic— Dispel Magicbullet_effect— Plated Armor
- Spirit interactions (purple header)
movement_restriction— Slowing Hexability_range— Ability Rangeability_duration— Ability Durationcharges— Charges
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.
Related pages
- User:Vergir/AbilitySection — parent template that hosts interaction rows
- Module:Vergir/InteractionTypes — add or edit interaction types here
- Template:Vergir/AbilitySection/styles.css — CSS for row styling