Editing User:Vergir/AbilityInteractionGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
< | <includeonly>{{#invoke:Vergir/InteractionTypes|render|type={{{type|}}}|text={{{text|}}}}}</includeonly><noinclude> | ||
== 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. | |||
=== 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 === | |||
See [[Module:Vergir/InteractionTypes]] for the full list. Current types: | |||
; Vitality (dark green) | |||
* <code>unstoppable</code>, <code>counterspell</code>, <code>debuff_resist</code>, <code>dispel_magic</code>, <code>bullet_effect</code> | |||
; Spirit (dark purple) | |||
* <code>movement_restriction</code>, <code>ability_range</code>, <code>ability_duration</code>, <code>charges</code> | |||
=== 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> | |||
</noinclude> | |||