Template:Ew-ability: Difference between revisions

From MediaWiki
Jump to navigationJump to search
mNo edit summary
 
Line 1: Line 1:
<noinclude>A nested template for use with [[User:TheLastGherkin/Rattrap]], specifically for the parameters Ability, Abilities, Special, Passive, and Artifact.
<noinclude>A nested template for use with [[Template:Ew-char]], specifically for the parameters Ability, Abilities, Special, Passive, and Artifact.


The parameters are as follows:
The parameters are as follows:
Line 16: Line 16:


Keep It Simple, Stupid: if, for example, a unit's passive ability can be summed up in a line of text and has no other stats, don't bother using this template.
Keep It Simple, Stupid: if, for example, a unit's passive ability can be summed up in a line of text and has no other stats, don't bother using this template.
</noinclude><includeonly>{{#if: {{{abilitydesc|}}}|
[[Category:Earth Wars templates]]</noinclude><includeonly>{{#if: {{{abilitydesc|}}}|
{{#if: {{{ability|}}}|
{{#if: {{{ability|}}}|
<div class="mw-collapsible mw-collapsed">'''{{{ability|}}}'''<div class="mw-collapsible-content">{{{abilitydesc|}}}{{#if: {{{cost|}}}|<br>'''Cost:''' {{{cost}}}|}}{{#if: {{{cooldown|}}}|<br>'''Cooldown:''' {{{cooldown|}}}|}}{{#if: {{{level11|}}}|<br>'''Level 11 Bonus:''' {{{level11|}}}|}}{{#if: {{{rank5|}}}|<br>'''Rank 5 Effect:''' {{{rank5|}}}|}}{{#if: {{{rank10|}}}|<br>'''Rank 10 Effect:''' {{{rank10|}}}|}}{{#if: {{{artifact6|}}}|<br>'''Level 6 Effect:''' {{{artifact6|}}}|}}{{#if: {{{artifact11|}}}|<br>'''Level 11 Effect:''' {{{artifact11|}}}|}}{{#if: {{{artifact16|}}}|<br>'''Level 16 Effect:''' {{{artifact16|}}}|}}</div></div>
<div class="mw-collapsible mw-collapsed">'''{{{ability|}}}'''<div class="mw-collapsible-content">{{{abilitydesc|}}}{{#if: {{{cost|}}}|<br>'''Cost:''' {{{cost}}}|}}{{#if: {{{cooldown|}}}|<br>'''Cooldown:''' {{{cooldown|}}}|}}{{#if: {{{level11|}}}|<br>'''Level 11 Bonus:''' {{{level11|}}}|}}{{#if: {{{rank5|}}}|<br>'''Rank 5 Effect:''' {{{rank5|}}}|}}{{#if: {{{rank10|}}}|<br>'''Rank 10 Effect:''' {{{rank10|}}}|}}{{#if: {{{artifact6|}}}|<br>'''Level 6 Effect:''' {{{artifact6|}}}|}}{{#if: {{{artifact11|}}}|<br>'''Level 11 Effect:''' {{{artifact11|}}}|}}{{#if: {{{artifact16|}}}|<br>'''Level 16 Effect:''' {{{artifact16|}}}|}}</div></div>
|{{{abilitydesc|}}}{{#if: {{{cost|}}}|<br>'''Cost:''' {{{cost|}}}|}}{{#if: {{{cooldown|}}}|<br>'''Cooldown:''' {{{cooldown|}}}|}}{{#if: {{{11|}}}|<br>'''Level 11 Bonus:''' {{{11|}}}|}}{{#if: {{{rank5|}}}|<br>'''Rank 5 Effect:''' {{{rank5|}}}|}}{{#if: {{{rank10|}}}|<br>'''Rank 10 Effect:''' {{{rank10|}}}|}}{{#if: {{{artifact6|}}}|<br>'''Level 6 Effect:''' {{{artifact6|}}}|}}{{#if: {{{artifact11|}}}|<br>'''Level 11 Effect:''' {{{artifact11|}}}|}}{{#if: {{{artifact16|}}}|<br>'''Level 16 Effect:''' {{{artifact16|}}}|}}}}|}}</includeonly>
|{{{abilitydesc|}}}{{#if: {{{cost|}}}|<br>'''Cost:''' {{{cost|}}}|}}{{#if: {{{cooldown|}}}|<br>'''Cooldown:''' {{{cooldown|}}}|}}{{#if: {{{11|}}}|<br>'''Level 11 Bonus:''' {{{11|}}}|}}{{#if: {{{rank5|}}}|<br>'''Rank 5 Effect:''' {{{rank5|}}}|}}{{#if: {{{rank10|}}}|<br>'''Rank 10 Effect:''' {{{rank10|}}}|}}{{#if: {{{artifact6|}}}|<br>'''Level 6 Effect:''' {{{artifact6|}}}|}}{{#if: {{{artifact11|}}}|<br>'''Level 11 Effect:''' {{{artifact11|}}}|}}{{#if: {{{artifact16|}}}|<br>'''Level 16 Effect:''' {{{artifact16|}}}|}}}}|}}</includeonly>

Latest revision as of 19:37, 10 April 2026

A nested template for use with Template:Ew-char, specifically for the parameters Ability, Abilities, Special, Passive, and Artifact.

The parameters are as follows:

|ability= Name of the ability, if required.
|abilitydesc= Description of the ability.
|cost= Cost of using the ability, if required
|cooldown= Cooldown of the ability, if required.
|level11= The Level 11 Bonus of a unit's ability or special.
|rank5= The Rank 5 Effect of a Prime's passive.
|rank10= The Rank 10 Effect of a Prime's passive.
|artifact6= The Level 6 Effect of a Prime's Artifact.
|artifact11= The Level 11 Effect of a Prime's Artifact.
|artifact16= The Level 16 Effect of a Prime's Artifact.

Keep It Simple, Stupid: if, for example, a unit's passive ability can be summed up in a line of text and has no other stats, don't bother using this template.