Template:Hero infobox/doc

From Liquipedia Dota 2 Wiki

The Hero infobox is used within hero pages to quickly convey core information, such hero's all attributes and other traits.

Dark Willow
20 + 2
18 + 1.3
21 + 2.6
Grants the following bonuses per level:
+44HP and +0.2HP regeneration
+0.22 armor and 1.3 attack speed
+31.2MP and +0.13MP regeneration
+0.1% base magic resistance
+2.66 Main Attack Damage
Show/Hide Tooltips
3
Armor
(660.8 EHP)
27.1%
Magic Resist
(768.18 EHP)
1200
Projectile Speed
Melee Melee units have their projectile speed set to 900, if they should ever need it.
115 (133)
(1.5 BAT)
Base Attack Time Attacks per Second is defined as
ΣAS / BAT / 100
0.3 + 1
Turn Rate This unit takes 0.15s to turn 180°.
This ability component has a different effect during daytime. 1800 / This ability component has a different effect during nighttime. 800
Default
Gib Type
2017-10-31
Released
Competitive Span
2018-03-01 — Present
Version Control
This article has not been updated to the last version the hero was changed in yet (version 7.40). Please help by updating it.
Show/Hide Tooltips

To-do List

[edit]
  • separate base stats into a different template
  • hero version missing, hero released after monkey king have extra spaces in their infobox.

Usage

[edit]

To implement the infobox, add {{Hero infobox}} to the top of a page. You should probably set some unit specific parameters. Use the following syntax to add each attribute/traits and its values with | attribute = value, and the following preset:

The template creates a Base Stats section automatically.

There will be no custom game support.

Template

[edit]
{{Hero infobox
| name = 
| hid = 
<!-- | intern = Only if the intern name is diferent. -->
| primary = 

| strbase = 
| strgain = 
| agibase = 
| agigain = 
| intbase = 
| intgain = 

| hpregen = 0
| mpregen = 0

| armor = 0
<!-- | mr = 0.25 -->
<!-- | sr = -->

| atkspeed = 
<!-- | projectile speed = 0 -->
| bat = 1.7
| atkmin = 
| atkmax = 
| rangetype = 

| atkrange = 
| atkpoint = 
| atkbacks = 
<!-- | acquirange = -->

| movespeed = 
| turnrate = 0.6
	
| visionday = 1800
| visionnight = 800
| visiontype = Ground 

| collisionsize = 27
| boundradius = 24
	
| gibtype = 

| released = 
| gamever = 
| dotaver = 
| allstars = 

| structure = 
}}

Attributes

[edit]
Attribute Description
title Hero name, defaults to BASEPAGENAME.
1 Calculate values automatically for the following levels, Base (level 0), Level 1, Level 15, Level 25 and Level 30.

There is an optional attribute that is only necessary when including this template on a page that is not a Hero page, and should not be set when this template is used on a Hero page.

Attribute Description
title The English name of the hero. (On hero pages, the name of the hero is defaulted as BASEPAGENAME if not given.)
structure Specify how the infobox is related to the page. Defaults to main (means it is the main infobox of the page and all properties will be included in the LPDB). If the infobox is not the main part of the page, define hidden.