Template:BaseStat
<div class="upgrade-body Script error: No such module "Randomizer".">
{{{Cost}}}
{{{footprint}}}
{{{Sell Price}}}
{{{Placement Type}}}
{{{Damage}}}
{{{Damage Type}}}
{{{Firerate}}}
{{{Hidden}}}
{{{Range}}}
{{{Placement}}}
Portions of this template may not be visible without parameter values provided
Lua Module: Module:StripNaked; Module:Randomizer
Description
This template is used to add a tower's base stats.
Syntax & Usage
{{BaseStat
|Image = <Tower Icon>
|Cost = <Placement Cost>
|Footprint = <Placement Footprint>
|Sell Price = <Sell Cost>
|Placement Type = <Placement Type>
|Damage = <Damage>
|Damage Type = <Damage Type>
|Firerate = <Firerate>
|Hidden = <Hidden Detection Level>
|Range = <Range>
|Lead = <Lead Penetration Level>
|Placement = <Placement Limit>
|Fly = <Flying Detection Level>
|Title1 = <Custom Stat Title>
|Stat1 = <Custom Stat Value>
|Title2 = <Custom Stat Title>
|Stat2 = <Custom Stat Value>
|Title3 = <Custom Stat Title>
|Stat3 = <Custom Stat Value>
|Title4 = <Custom Stat Title>
|Stat4 = <Custom Stat Value>
}}
The image parameter should be the tower icon. The various statistic parameters are used to add basic statistics to the template. These have to be filled out. If a tower does not have any of these statistics, such as a tower not having any range, it should be set to N/A. The title and stat parameters are used to add tower specific statistics, if a tower has any.
Examples
No Custom Stats
{{BaseStat
|Image=[[File:DefaultScout3.png|100px]]
|Cost = {{Money|200}}
|Footprint = Average (1.5)
|Sell Price = {{Money|66}}
|Placement Type = Ground
|Damage = [[File:Damage Icon.png|20px|Damage]]1
|Damage Type = Single
|Firerate = [[File:Cooldown Icon.png|20px|Firerate]]1.508
|Hidden = {{Hidden|Hidden Detection}}Level 2+
|Range = [[File:Range Icon.png|20px|Range]]12
|Lead = N/A
|Placement = N/A
|Fly = N/A
}}
<div class="upgrade-body upgrade-body-has-image Script error: No such module "Randomizer".">
CashScript error: No such module "Money".
{{{footprint}}}
CashScript error: No such module "Money".
Ground
Damage1
Single
Firerate1.508
Hidden DetectionLevel 2+
Range12
N/A
N/A
N/A
[[Script error: No such module "StripNaked".|200px|center]]
Custom Stats
{{BaseStat
|Image = [[File:DefaultAcceleratorIcon2.png|100px]]
|Cost = {{Money|4,250}}
|Footprint = Average (1.5)
|Sell Price = {{Money|1,416}}
|Placement Type = Ground
|Damage = [[File:Damage Icon.png|20px|Damage]]10
|Damage Type = Burst
|Firerate = [[File:Cooldown Icon.png|20px|Firerate]]0.208
|Hidden = {{Hidden|Hidden Detection}}Level 1+
|Range = [[File:Range Icon.png|20px|Range]]17.5
|Lead = {{Lead|Lead Penetration}}Level 0+
|Placement = [[File:PlacementLimit.png|20px|Placement Limit]]8
|Fly = N/A
|Title1 = Overcharge
|Stat1 = [[File:Cooldown Buff.png|20px|Overcharge]]180
|Title2 = Charge-Up
|Stat2 = [[File:Cooldown Icon.png|20px|Charge-Up]]3
|Title3 = Cooldown
|Stat3 = [[File:Cooldown Icon.png|20px|Cooldown]]2
}}
<div class="upgrade-body upgrade-body-has-image Script error: No such module "Randomizer".">
CashScript error: No such module "Money".
{{{footprint}}}
CashScript error: No such module "Money".
Ground
Damage10
Burst
Firerate0.208
Hidden DetectionLevel 1+
Range17.5
Lead PenetrationLevel 0+
Placement Limit8
N/A
Overcharge180
Charge-Up3
Cooldown2
[[Script error: No such module "StripNaked".|200px|center]]