|
|
| (3 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{#invoke:Vergir/InteractionTypes|render|type={{{type|}}}|text={{{text|}}}}}</includeonly><noinclude> | | <templatestyles src="Infobox hero/styles.css" /><templatestyles src="Infobox hero/themes.css" /><includeonly>{{#invoke:InfoboxHero|render}}</includeonly> |
| == 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>
| |