Dota 2 Wiki
Advertisement
Dota 2 Wiki
20,265
pages

This template defines the table "units". View table. A replacement table has been generated for this table; View replacement table.

Documentation for Template:Unit infobox [ view | edit | purge ]

The Unit infobox is used for statistics on summons and other non-hero units.

Usage

To implement this infobox, add {{Unit infobox}} to your article. You should probably set some unit specific parameters. Use this code:

{{Unit infobox
| title = 
| image = 
| icon = 
| summoned = true/false
| ancient = true/false
| neutral = true/false
| type = 
| level = 
| duration =
| duration alt = <!-- Until <text here> (For text duration) -->
| channeled = 
| health = 
| health per hero level = <!-- for Spirit Bear -->
| attack damage per interval = <!-- for Lane Creeps --> 
| health tal = 
| health aghs = 
| health aghs tal = 
| health shard = 
| health shard tal = 
| health regen = 
| health regen tal = 
| health regen aghs = 
| mana = 
| mana tal = 
| mana regen = 
| mana regen tal = 
| mana regen aghs = 
| hero attacks to destroy = 
| creep attacks to destroy = 
| self attacks to destroy = 
| armor = 
| armor tal = 
| defense class = 
| magic resistance = 
| magic resistance tal = 
| status resistance = 
| attack damage min = 
| attack damage min tal = 
| attack damage max = 
| attack damage max tal = 
| attack damage per hero level = <!-- for Spirit Bear -->
| attack damage per interval = <!-- for Lane Creeps --> 
| attack class = 
| acquisition range = 
| attack range = 
| attack range aghs = 
| range type = 
| base attack time = 
| base attack time tal = 
| attack speed = 
| attack speed tal = 
| attack point =  
| attack backswing = 
| projectile speed = 
| movement speed = 
| movement speed text = <!-- Other Movement Speed Notes -->
| movement type = 
| follow range = 
| turn rate = 
| collision size = 
| sight range day =  
| sight range day tal = 
| sight range night = 
| sight range night tal = 
| vision type = 
| bounty min = <!-- If there's only bounty min values, enter the same for bounty max -->
| bounty max = 
| bounty min aghs = 
| bounty max aghs = 
| bounty per min = <!-- for wards -->
| bounty per interval = <!-- for Lane Creeps --> 
| bounty team = 
| experience = 
| experience per min = <!-- for wards -->
| experience per interval = <!-- for Lane Creeps --> 
| model scale = 
| model scale radiant = <!-- for Lane Creeps --> 
| model scale dire = <!-- for Lane Creeps --> 
| abilities = 
| abilitiesuid = Ability&Hero
| upgrade type = 
| source = Ability&Hero <!-- for summons -->
| source upgrade type = 
| notes = 
| structure = <!-- See wiki infrastructure -->
}}

Attributes

Attribute Description
title The infoboxes title. Should be the name of the unit. Defaults to Unknown.
image The infoboxes image. Should be an image of the unit's model.
Defaults to Unknown.png.
summoned
ancient
neutral
Only True and False are valid parameters. Defaults to False.
type The unit type. Valid parameters are Creep, Creep-Hero, Clone,Lane Creep, Ward, Courier, Attached, Building and Other.
Defaults to Creep.
health The unit's maximum health. (tal, aghs, shard, aghs tal, shard tal)
If unit type is Clone, defaults to Current Health.
health per hero level Only used for Lone Druid Spirit Bear icon.png Spirit Bear. Data is only for visual purposes and not stored in cargo.
health regen The unit's health regen per second. (tal, aghs, shard, aghs tal, shard tal)
mana The unit's maximum mana. (tal, aghs, shard, aghs tal, shard tal)
If unit type is Clone, defaults to Current Mana.
mana regen The unit's mana regen per second. (tal, aghs, shard, aghs tal, shard tal)
level The level of the unit.
duration
duration alt
The unit's life duration in seconds. Defining 0 will display Permanent.
Duration alt displays a description for the unit's duration, it is not stored in cargo. (shard)
respawn time Unit's respawn time. Data is only for visual purposes and not stored in cargo
hero attacks to destroy Mostly used for Ward-type units. Data is only for visual purposes and not stored in cargo. (tal, aghs, aghs tal)
self attacks to destroy Used for Ward-type units. Data is only for visual purposes and not stored in cargo.
Syntax is NUMBER;HERO NAME.
creep attacks to destroy Mostly used for Ward-type units. Data is only for visual purposes and not stored in cargo. (tal)
tower attacks to destroy Mostly used for Ward-type units. Data is only for visual purposes and not stored in cargo. (tal)
armor The unit's armor value. (tal, aghs)
defense class The unit's defense class. Valid parameters are Hero, Basic, Structure and Unarmored. Defaults to Unknown.
magic resistance The unit's magic resistance value in %. (tal)
status resistance The unit's status resistance value in %.
attack damage min The unit's minimum base attack damage.
attack damage max The unit's maximum base attack damage.
attack damage per hero level Only used for Lone Druid Spirit Bear icon.png Spirit Bear. Data is only for visual purposes and not stored in cargo.
attack range The unit's attack range value.
range type The unit's attack type. Valid parameters are Melee and Ranged.
Defaults to Unknown.
attack class The unit's attack class. Valid parameters are Hero, Basic, Pierce and Siege.
Defaults to Unknown.
acquisition range The distance required for a unit to automatically acquire an attack target. (tal, aghs, aghstal)
attack speed The unit's attack speed. (tal)
base attack time The unit's base attack time.
attack point The length of the animation just before an attack.
attack backswing The length of the animation just after an attack.
projectile speed The travel speed of the unit's attack projectile.
Default to Instant for melee units.
movement speed
movement speed text
The unit's base movement speed. The movement type is decided by the vision type parameter.
Movement speed text displays a description for the unit's movement speed, it is not stored in cargo.
movement type The unit's movement type. Valid parameters are Walking and Flying. Defaults to Unknown.
follow range The distance a unit tries to keep when ordered to follow another unit.
turn rate The rate which determines how long the unit needs to turn 180°.
collision size The unit's collision size.
sight range day The range in which the unit can see during the day. (tal, shard)
sight range night The range in which the unit can see during the night. (tal, shard)
vision type The unit's type of vision. Valid parameters are Ground and Flying. Defaults to Unknown.
bounty min The minimum possible gold given when the unit is killed. (per min, team, aghs)
bounty max The maximum possible gold given when the unit is killed. (per min, team, aghs)
experience The experience given when the unit is killed. (per min)
model scale The size of the unit's model. Most units don't use their model's original size and are either scaled up or down. (radiant, dire)
abilities A semicolon separated list of the unit's abilities.
abilitiesuid A semicolon separated list of the unit's abilities. Supported transcluded abilities. Syntax for each item in the list is PAGENAME&ABILITY. i.e. (Axe&Battle Hunger)
upgrade type Ability upgrade type, use semicolon to separated list of unit's upgrades according to sequence. Valid parameters are tal, aghs, shard, 2, 3, 4.
source Unit's source ability. Data is only for visual purposes and not stored in cargo.
source upgrade type Unit's source from its ability upgrade type. Use semicolon to separated list of unit's upgrades according to sequence. Valid parameters are tal, aghs, shard, 2, 3, 4. Data is only for visual purposes and not stored in cargo.
notes Additional notes about the unit.

Dota1 Parameters

Only for Dota1 units. These alt parameters are only for visual purposes and not stored in cargo.

Attribute Description
attack damage min alt1/alt2 Syntax is atkdmgmin alt1;attack class alt1.
attack damage max alt1/alt2 Syntax is atkdmgmax alt1;against unit type alt1.
attack range alt1/alt2 Syntax is attack range alt1;range type1;against unit type1.
base attack time alt Syntax is BAT1;against unit type1;BAT2;against unit type2.
Other Parameters Since data is not stored in cargo, use Template:Tooltip if possible.

Wiki infrastructure

Only use one regular unit infobox per page. There are two parameters to fit in the infobox into the wiki:

Attribute Description
structure Specify how the infobox is related to the page. Defaults to main (means it is the main infobox of the page and all semantic properties will be included). If the infobox is not the main part of the page, define hidden.
game Specify when the unit is part of a custom or seasonal game. Defaults to empty (means the standard Dota 2 game).
Advertisement