User:Vergir/AbilityInteraction: Difference between revisionsGive feedback
Add new interaction types, drop "Interactions:" prefix from header label (with help from vergir-bot LLM) |
Drop all interaction types not in the canonical user-specified list (with help from vergir-bot LLM) |
||
| Line 8: | Line 8: | ||
<div class="ability-interaction" style="margin-bottom:4px; border-radius:4px; overflow:hidden; font-family:'Open Sans','PT Serif',serif;"> | <div class="ability-interaction" style="margin-bottom:4px; border-radius:4px; overflow:hidden; font-family:'Open Sans','PT Serif',serif;"> | ||
<div style="background:{{#switch:{{{type|}}} | <div style="background:{{#switch:{{{type|}}} | ||
| unstoppable = #a07830 | | unstoppable = #a07830 | ||
| counterspell = #4a5a7a | | counterspell = #4a5a7a | ||
| debuff_reduction = #4a6a7a | | debuff_reduction = #4a6a7a | ||
| Line 29: | Line 18: | ||
| #default = #555555 | | #default = #555555 | ||
}}; padding:4px 8px; font-weight:bold; font-size:0.85rem; display:flex; align-items:center; gap:6px; color:#FFEFD7;">[[File:{{#switch:{{{type|}}} | }}; padding:4px 8px; font-weight:bold; font-size:0.85rem; display:flex; align-items:center; gap:6px; color:#FFEFD7;">[[File:{{#switch:{{{type|}}} | ||
| unstoppable = Unstoppable Symbol.png | | unstoppable = Unstoppable Symbol.png | ||
| counterspell = Counterspell.png | | counterspell = Counterspell.png | ||
| debuff_reduction = Debuff_Reducer.png | | debuff_reduction = Debuff_Reducer.png | ||
| Line 50: | Line 28: | ||
| #default = GenericProperty.png | | #default = GenericProperty.png | ||
}}|20px|link=]] {{#switch:{{{type|}}} | }}|20px|link=]] {{#switch:{{{type|}}} | ||
| unstoppable = [[Status Effects#Unstoppable|Unstoppable]] | | unstoppable = [[Status Effects#Unstoppable|Unstoppable]] | ||
| counterspell = {{ItemIcon|Counterspell}} | | counterspell = {{ItemIcon|Counterspell}} | ||
| debuff_reduction = [[Debuff Resist|Debuff Reduction]] | | debuff_reduction = [[Debuff Resist|Debuff Reduction]] | ||
| Line 69: | Line 36: | ||
| ability_duration = [[Ability Duration|Ability Duration]] ({{ItemIcon|Duration Extender}}) | | ability_duration = [[Ability Duration|Ability Duration]] ({{ItemIcon|Duration Extender}}) | ||
| charges = Charges ({{ItemIcon|Rapid Recharge}}) | | charges = Charges ({{ItemIcon|Rapid Recharge}}) | ||
| #default = | | #default = <span style="color:red;">Unknown type: <code>{{{type}}}</code></span> | ||
}}</div> | }}</div> | ||
<div style="background:#1e1a22; padding:6px 10px; font-size:0.85rem; color:#FFEFD7;">{{{text|}}}</div> | <div style="background:#1e1a22; padding:6px 10px; font-size:0.85rem; color:#FFEFD7;">{{{text|}}}</div> | ||
| Line 89: | Line 56: | ||
The canonical list of types is also documented in [[User:Vergir/Module:InteractionTypes]]. Adding a new type requires updating both this template's <code>#switch</code> blocks and that module. | The canonical list of types is also documented in [[User:Vergir/Module:InteractionTypes]]. Adding a new type requires updating both this template's <code>#switch</code> blocks and that module. | ||
* <code>unstoppable</code> — [[Status Effects#Unstoppable|Unstoppable]] | * <code>unstoppable</code> — [[Status Effects#Unstoppable|Unstoppable]] | ||
* <code>counterspell</code> — [[Counterspell]] | * <code>counterspell</code> — [[Counterspell]] | ||
* <code>debuff_reduction</code> — [[Debuff Resist|Debuff Reduction]] (icon: [[Debuff Reducer]]) | * <code>debuff_reduction</code> — [[Debuff Resist|Debuff Reduction]] (icon: [[Debuff Reducer]]) | ||
| Line 114: | Line 68: | ||
<pre> | <pre> | ||
{{User:Vergir/AbilityInteraction | {{User:Vergir/AbilityInteraction | ||
| type = | | type = dispel_magic | ||
| text = | | text = | ||
{{ItemIcon|Dispel Magic}} used by an ally on the channeled target will immediately return them. | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||