Template:AbilityInteraction/doc: Difference between revisions

Vergir (talk | contribs)
m update doc
Vergir (talk | contribs)
m another doc update.
Line 40: Line 40:
<pre>
<pre>
{{AbilityInteraction
{{AbilityInteraction
| interaction = dispel
| interaction = Ability Duration
| text =
| text =
* Any dispel immediately "drops" the target off the cart.
Affects the charge's duration and, consequently, distance the charge covers.
}}
}}
</pre>
</pre>
{{AbilityInteraction
{{AbilityInteraction
| interaction = dispel
| interaction = Ability Duration
| text =
| text =
* Any dispel immediately "drops" the target off the cart.
Affects the charge's duration and, consequently, distance the charge covers.
}}
}}


Line 70: Line 70:
}}
}}


=== Interaction that does not apply ===
=== Disabled Interaction ===


<pre>
<pre>
Line 94: Line 94:


Add an entry to the {{code|REGISTRY}} table at the top of [[Module:AbilityInteraction]]. An entry should contain {{code|title}}, {{code|type}}, {{code|iconfile}}, and {{code|link}}, which pass down to the underlying {{tl|IconBox}}. The {{code|aliases}} just specifies different ways to write an interaction.
Add an entry to the {{code|REGISTRY}} table at the top of [[Module:AbilityInteraction]]. An entry should contain {{code|title}}, {{code|type}}, {{code|iconfile}}, and {{code|link}}, which pass down to the underlying {{tl|IconBox}}. The {{code|aliases}} just specifies different ways to write an interaction.
Note that the type of the interaction (positive/negative/info) should be chosen according to whether that interaction enhances the ability (positive) or hampers it (negative).


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>