Template:BTD6 tower: Difference between revisions
Jump to navigation
Jump to search
Need this for druidgon stats |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{{range|}}}{{{footprint|}}}{{{areaTypes|}}}{{{speed|}}}{{{targetTypeFirst|}}}{{{targetTypeFirst after|}}}{{{targetTypeLast|}}}{{{targetTypeLast after|}}}{{{targetTypeClose|}}}{{{targetTypeClose after|}}}{{{targetTypeStrong|}}}{{{targetTypeStrong after|}}}{{{targetTypeElite|}}}{{{targetTypeElite after|}}}{{{targetTypeCircle|}}}{{{targetTypeCircle after|}}}{{{targetTypeFigureInfinite|}}}{{{targetTypeFigureInfinite after|}}}{{{targetTypeFigureEight|}}}{{{targetTypeFigureEight after|}}}{{{targetTypeCentered|}}}{{{targetTypeCentered after|}}}{{{targetTypeNormal|}}}{{{targetTypeNormal after|}}}{{{targetTypeLocked|}}}{{{targetTypeLocked after|}}}{{{targetTypeTrack|}}}{{{targetTypeTrack after|}}}{{{targetTypeCloseTrack|}}}{{{targetTypeCloseTrack after|}}}{{{targetTypeFarTrack|}}}{{{targetTypeFarTrack after|}}}{{{targetTypeSmartTrack|}}}{{{targetTypeSmartTrack after|}}}{{{targetTypeFollowTouch|}}}{{{targetTypeFollowTouch after|}}}{{{targetTypeLockInPlace|}}}{{{targetTypeLockInPlace after|}}}{{{targetTypePatrolPoints|}}}{{{targetTypePatrolPoints after|}}}{{{targetTypePursuit|}}}{{{targetTypePursuit after|}}}|<table class="stats"><!-- | {{#if:{{{range|}}}{{{footprint|}}}{{{footprintX|}}}{{{footprintY|}}}{{{areaTypes|}}}{{{speed|}}}{{{maxSubtowers|}}}{{{maxSubtowers after|}}}{{{targetTypeFirst|}}}{{{targetTypeFirst after|}}}{{{targetTypeLast|}}}{{{targetTypeLast after|}}}{{{targetTypeClose|}}}{{{targetTypeClose after|}}}{{{targetTypeStrong|}}}{{{targetTypeStrong after|}}}{{{targetTypeElite|}}}{{{targetTypeElite after|}}}{{{targetTypeCircle|}}}{{{targetTypeCircle after|}}}{{{targetTypeFigureInfinite|}}}{{{targetTypeFigureInfinite after|}}}{{{targetTypeFigureEight|}}}{{{targetTypeFigureEight after|}}}{{{targetTypeCentered|}}}{{{targetTypeCentered after|}}}{{{targetTypeNormal|}}}{{{targetTypeNormal after|}}}{{{targetTypeLocked|}}}{{{targetTypeLocked after|}}}{{{targetTypeTrack|}}}{{{targetTypeTrack after|}}}{{{targetTypeCloseTrack|}}}{{{targetTypeCloseTrack after|}}}{{{targetTypeFarTrack|}}}{{{targetTypeFarTrack after|}}}{{{targetTypeSmartTrack|}}}{{{targetTypeSmartTrack after|}}}{{{targetTypeFollowTouch|}}}{{{targetTypeFollowTouch after|}}}{{{targetTypeLockInPlace|}}}{{{targetTypeLockInPlace after|}}}{{{targetTypePatrolPoints|}}}{{{targetTypePatrolPoints after|}}}{{{targetTypePursuit|}}}{{{targetTypePursuit after|}}}|<table class="stats"><!-- | ||
--><tr><th class="head">Tower</th></tr><!-- | --><tr><th class="head">Tower</th></tr><!-- | ||
--><tr><td><table class="stats-sub" style="width:100%"><!-- | --><tr><td><table class="stats-sub" style="width:100%"><!-- | ||
-->{{#ifexpr:{{{range|0}}} > 0 or {{{range after|0}}} > 0|<tr><th>[[Range|Display range]]</th><td>{{#ifexpr:{{{range|0}}} <= 900|{{formatnum:{{{range|0}}}}}|∞}} units {{#if:{{{range after|}}}|→ {{#ifexpr:{{{range after|0}}} <= 900|{{formatnum:{{{range after|0}}}}}|∞}} units}}</td></tr>}}<!-- | -->{{#ifexpr:{{{range|0}}} > 0 or {{{range after|0}}} > 0|<tr><th>[[Range|Display range]]</th><td>{{#ifexpr:{{{range|0}}} <= 900|{{formatnum:{{{range|0}}}}}|∞}} units {{#if:{{{range after|}}}|→ {{#ifexpr:{{{range after|0}}} <= 900|{{formatnum:{{{range after|0}}}}}|∞}} units}}</td></tr>}}<!-- | ||
-->{{#ifexpr:{{{footprintRadius|0}}} > 0 or {{{footprintRadius after|0}}} > 0|<tr><th>[[Footprint|Footprint radius]]</th><td>{{#ifexpr:{{{footprintRadius|0}}} <= 900|{{formatnum:{{{footprintRadius|0}}}}}|∞}} units {{#if:{{{footprintRadius after|}}}|→ {{#ifexpr:{{{footprintRadius after|0}}} <= 900|{{formatnum:{{{footprintRadius after|0}}}}}|∞}} units}}</td></tr>}}<!-- | -->{{#ifexpr:{{{footprintRadius|0}}} > 0 or {{{footprintRadius after|0}}} > 0|<tr><th>[[Footprint|Footprint radius]]</th><td>{{#ifexpr:{{{footprintRadius|0}}} <= 900|{{formatnum:{{{footprintRadius|0}}}}}|∞}} units {{#if:{{{footprintRadius after|}}}|→ {{#ifexpr:{{{footprintRadius after|0}}} <= 900|{{formatnum:{{{footprintRadius after|0}}}}}|∞}} units}}</td></tr>}}<!-- | ||
-->{{#if:{{{footprintX|}}}{{{footprintY|}}}|<tr><th>[[Footprint]]</th><td>{{{footprintX|}}} × {{{footprintY|}}} units {{#if:{{{footprintX after|}}}{{{footprintY after|}}}|→ {{{footprintX after|}}} × {{{footprintY after|}}} units}}</td></tr>}}<!-- | |||
-->{{#if:{{{cashPerRound|}}}{{{cashPerRound after|}}}|<tr><th>[[Cash]] per round</th><td>${{formatnum:{{{cashPerRound}}}}} {{#if:{{{cashPerRound after|}}}|→ ${{formatnum:{{{cashPerRound after|}}}}}}}}}</td></tr><!-- | -->{{#if:{{{cashPerRound|}}}{{{cashPerRound after|}}}|<tr><th>[[Cash]] per round</th><td>${{formatnum:{{{cashPerRound}}}}} {{#if:{{{cashPerRound after|}}}|→ ${{formatnum:{{{cashPerRound after|}}}}}}}}}</td></tr><!-- | ||
-->{{#if:{{{areaTypes|}}}{{{areaTypes after|}}}|<tr><th>Placeable on</th><td>{{{areaTypes}}} {{#if:{{{areaTypes after|}}}|→ {{{areaTypes after|}}}}}</td></tr>}}<!-- | -->{{#if:{{{areaTypes|}}}{{{areaTypes after|}}}|<tr><th>Placeable on</th><td>{{{areaTypes}}} {{#if:{{{areaTypes after|}}}|→ {{{areaTypes after|}}}}}</td></tr>}}<!-- | ||
-->{{#if:{{{speed|}}}{{{speed after|}}}|<tr><th>Movement speed</th><td>{{{speed}}} units/s {{#if:{{{speed after|}}}|→ {{{speed after|}}} units/s}}}}</td></tr><!-- | -->{{#if:{{{speed|}}}{{{speed after|}}}|<tr><th>Movement speed</th><td>{{{speed}}} units/s {{#if:{{{speed after|}}}|→ {{{speed after|}}} units/s}}}}</td></tr><!-- | ||
-->{{#if:{{{lifespan|}}}{{{lifespan after|}}}|<tr><th>Lifespan</th><td>{{{lifespan}}}s {{#if:{{{lifespan after|}}}|→ {{{lifespan after|}}}s}}}}</td></tr><!-- | -->{{#if:{{{lifespan|}}}{{{lifespan after|}}}|<tr><th>Lifespan</th><td>{{{lifespan}}}s {{#if:{{{lifespan after|}}}|→ {{{lifespan after|}}}s}}}}</td></tr><!-- | ||
-->{{#if:{{{maxSubtowers|}}}{{{maxSubtowers after|}}}|<tr><th>Maximum sub-towers</th><td>{{{maxSubtowers}}} {{#if:{{{maxSubtowers after|}}}|→ {{{maxSubtowers after|}}}}}}}</td></tr><!-- | |||
druid specific stuff | druid specific stuff | ||