Template:BTD6 ability: Difference between revisions
Created page with "{|class="stats" |+{{{name|Ability}}} | {|class="stats-sub" style="width:100%" {{#if:{{{cooldown|}}}|!Cooldown {{!}}{{{cooldown}}}s}} |- {{#if:{{{lifespan|}}}|!Duration {{!}}{{{lifespan|}}}}} |} |- | {{{attacks|}}} |- | {{{projectiles|}}} |}<noinclude>{{/doc}}Category:Stat templatesCategory:BTD6 templates</noinclude>" |
Changed to additional charges for consistency |
||
| (27 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<table class="stats"><!-- | |||
--><tr><th class="head">{{{name|Ability}}}</tr></th><!-- | |||
--><tr><td><table class="stats-sub" style="width:100%"><!-- cooldown is only displayed if not using interval (e.g. carpet of spikes) | |||
-->{{#if:{{{interval|}}}{{{interval after|}}}|<tr><th>Interval</th><td>{{{interval|0}}}s {{#if:{{{interval after|}}}|→ {{{interval after|}}}s}}</td></tr> | |||
{{#if:{{{cooldown|}}}| | |{{#ifexpr:({{{cooldown|0}}} > 0 or {{{cooldown after|0}}} > 0) and ({{{cooldown|0}}} < 99999)|<tr><th>Cooldown</th><td>{{{cooldown|0}}}s {{#if:{{{cooldown after|}}}|→ {{{cooldown after|}}}s}}</td></tr>}}}}<!-- | ||
{{ | -->{{#ifexpr:({{{additionalCharges|0}}} > 0 or {{{additionalCharges after|0}}} > 0)|<tr><th>Ability charges</th><td>{{#expr:{{{additionalCharges|0}}}+1}} {{#if:{{{additionalCharges after|}}}|→ {{#expr:{{{additionalCharges after|0}}}+1}}}}</td></tr>}}<!-- | ||
|- | -->{{#ifexpr:({{{maxActivationsPerRound|0}}} > 0 or {{{maxActivationsPerRound after|0}}} > 0) and ({{{maxActivationsPerRound|0}}} < 99999)|<tr><th>Max uses per round</th><td>{{{maxActivationsPerRound|0}}} {{#if:{{{maxActivationsPerRound after|}}}|→ {{{maxActivationsPerRound after|}}}}}</td></tr>}}<!-- | ||
{{#if:{{{lifespan|}}}|! | -->{{#ifexpr:({{{lifespan|0}}} > 0 or {{{lifespan after|0}}} > 0) and ({{{lifespan|0}}} < 99999)|<tr><th>Lifespan</th><td>{{{lifespan|0}}}s {{#if:{{{lifespan after|}}}|→ {{{lifespan after|}}}s}}</td></tr>}}<!-- | ||
{{!}}{{{ | -->{{#if:{{{baseCash|}}}|<tr><th>Base cash</th><td>${{{baseCash|}}}</td></tr>}}<!-- | ||
|} | -->{{#if:{{{bonusLives|}}}|<tr><th>Lives</th><td>{{{bonusLives|}}}</td></tr>}}<!-- | ||
|- | -->{{#if:{{{damageToBad|}}}|<tr><th>Damage to BADs/Bosses</th><td>{{{damageToBad|}}}</td></tr>}}<!-- | ||
| | -->{{#if:{{{damageToNonBad|}}}|<tr><th>Damage to non-BADs/Bosses</th><td>{{{damageToNonBad|}}}</td></tr>}}<!-- | ||
{{{attacks|}}} | -->{{#ifexpr:{{{pauseAllOtherAttacks|0}}} > 0 or {{{pauseAllOtherAttacks after|0}}} > 0|<tr><th>Disables other attacks</th><td>{{{pauseAllOtherAttacks|0}}}s {{#if:{{{pauseAllOtherAttacks after|}}}|→ {{{pauseAllOtherAttacks after|}}}s}}</td></tr>}}</table><!-- | ||
|- | --></td></tr>{{#if:{{{attacks|}}}|<tr><td>{{{attacks|}}}</td></tr>}}{{#if:{{{projectiles|}}}|<tr><td>{{{projectiles|}}}</td></tr>}}{{#if:{{{collectables|}}}|<tr><td>{{{collectables|}}}</td></tr>}}{{#if:{{{buffs|}}}|<tr><td>{{{buffs|}}}</td></tr>}}</table><noinclude>{{/doc}}[[Category:BTD6 templates]][[Category:Stat templates]]</noinclude> | ||
| | |||
{{{projectiles|}}} | |||
|}<noinclude>{{/doc}}[[Category: | |||