|
|
| Line 1: |
Line 1: |
| == Overview ==
| |
| Renders a single styled interaction row for use inside the <code>interactions=</code> 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 ===
| |
| {| class="wikitable"
| |
| ! Parameter !! Description !! Required
| |
| |-
| |
| | <code>type</code> || Interaction type key. Must match an entry in [[Module:Vergir/InteractionTypes]]. || Yes
| |
| |-
| |
| | <code>text</code> || Custom description. If omitted, a default description is shown in grey italics. || No
| |
| |}
| |
|
| |
| === Valid type values ===
| |
|
| |
| ; Vitality interactions (green header)
| |
| * <code>unstoppable</code> — [[Unstoppable]]
| |
| * <code>counterspell</code> — [[Counterspell]]
| |
| * <code>debuff_resist</code> — [[Debuff Resist]]
| |
| * <code>dispel_magic</code> — [[Dispel Magic]]
| |
| * <code>bullet_effect</code> — [[Plated Armor]]
| |
|
| |
| ; Spirit interactions (purple header)
| |
| * <code>movement_restriction</code> — [[Slowing Hex]]
| |
| * <code>ability_range</code> — [[Ability Range]]
| |
| * <code>ability_duration</code> — [[Ability Duration]]
| |
| * <code>charges</code> — [[Charges]]
| |
|
| |
| === Example ===
| |
| <pre>
| |
| {{User:Vergir/AbilityInteraction
| |
| | type = counterspell
| |
| | text = Counterspell blocks the slow and accuracy debuff, but not the damage.
| |
| }}
| |
|
| |
| {{User:Vergir/AbilityInteraction
| |
| | type = charges
| |
| }}
| |
| </pre>
| |
|
| |
| The second example omits <code>text=</code>, 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
| |
| <includeonly>[[Category:Vergir templates]]</includeonly>
| |