Template:AbilityInteraction/doc: Difference between revisionsGive feedback
m update doc |
Restore original wording of the text param description (with help from vergir-bot LLM) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 24: | Line 24: | ||
}, | }, | ||
"state": { | "state": { | ||
"description": "Omit when the interaction applies normally. Use partial when it applies only in part, | "description": "Omit when the interaction applies normally. Use partial when it applies only in part, disabled when it does not apply at all, or enhanced when it applies more strongly than usual.", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ "partial", "disabled" ] | "suggestedvalues": [ "partial", "disabled", "enhanced" ] | ||
} | } | ||
}, | }, | ||
| Line 40: | Line 40: | ||
<pre> | <pre> | ||
{{AbilityInteraction | {{AbilityInteraction | ||
| interaction = | | interaction = Ability Duration | ||
| text = | | text = | ||
Affects the charge's duration and, consequently, distance the charge covers. | |||
}} | }} | ||
</pre> | </pre> | ||
{{AbilityInteraction | {{AbilityInteraction | ||
| interaction = | | interaction = Ability Duration | ||
| text = | | text = | ||
Affects the charge's duration and, consequently, distance the charge covers. | |||
}} | |||
=== Enhanced interaction === | |||
<pre> | |||
{{AbilityInteraction | |||
| interaction = cooldown | |||
| state = enhanced | |||
| text = Cooldown reduction applies to each charge separately, so it is far more effective here than on a single-charge ability. | |||
}} | |||
</pre> | |||
{{AbilityInteraction | |||
| interaction = cooldown | |||
| state = enhanced | |||
| text = Cooldown reduction applies to each charge separately, so it is far more effective here than on a single-charge ability. | |||
}} | }} | ||
| Line 70: | Line 85: | ||
}} | }} | ||
=== Interaction | === Disabled Interaction === | ||
<pre> | <pre> | ||
| Line 94: | Line 109: | ||
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> | ||