User:Vergir/AbilityInteraction: Difference between revisions

Vergir (talk | contribs)
Create AbilityInteraction sub-template for use inside AbilitySection interactions= param (with help from vergir-bot LLM)
 
Vergir (talk | contribs)
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:User:Vergir/InteractionTypes|render_row|{{{type|}}}|{{{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]].
 
=== Parameters ===
{| class="wikitable"
! Parameter !! Description !! Required
|-
| <code>type</code> || Interaction type key. Must match an entry in [[User:Vergir/Module:InteractionTypes]]. || Yes
|-
| <code>text</code> || Description of the interaction. Freeform wikitext; may span multiple lines and include links, templates, and bullet points. || Yes
|}
 
=== Valid type values ===
* <code>debuff_immunity</code>
* <code>unstoppable</code>
* <code>silence</code>
* <code>stun</code>
* <code>disjoint</code>
* <code>invincibility</code>
* <code>sleep</code>
* <code>purge</code>
* <code>lifestealing</code>
* <code>barrier</code>
* <code>illusions</code>
* <code>phase</code>
 
=== Example ===
<pre>
{{User:Vergir/AbilityInteraction
| type = disjoint
| text =
The projectile can be disjointed before impact.
Disjointing prevents the impact damage and the explosion.
}}
</pre>
</noinclude>