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
| 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
1200 Projectile Speed
| ||
115 (133)
(1.5 BAT) | ||
0.3 + 1
| ||
0.7
| ||
Default
Gib Type | ||
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.
|