Usage[]
- This template is used on item pages to display the additional bonuses an item grants based on its stats.
- Previous it uses Lua to calculate other bonuses such as magic resistance, status resistance etc.
- Now it just calculates the bonuses the item provides via attributes.
{{Item stats|<item name>}}
- For displaying item's stats and item name in other pages.
{{Item stats}}
- For displaying item's stats in its own page.
- Does not support items with multiple levels.
Example[]
- Iron Branch's attributes grants the following bonuses:
- 22 health and 0.1 health regeneration.
- 12 mana, 0.05 mana regeneration and 0.1% flat base magic resistance.
- 1 attack speed and 0.17 main armor.
- 1 main attack damage to all / / heroes.
- 2.1 main attack damage to universal heroes.
- Eye of Skadi's attributes grants the following bonuses:
- 484 health and 2.2 health regeneration.
- 264 mana, 1.1 mana regeneration and 2.2% flat base magic resistance.
- 22 attack speed and 3.67 main armor.
- 22 main attack damage to all / / heroes.
- 46.2 main attack damage to universal heroes.
Old Template[]
- This section is for archiving purposes in case attributes more unique bonuses.
- This template calculates the following stats together:
- Main attack damage + bonus attack damage
- Item's health/mana + Item's / health/mana bonuses
- The Lua file is not removed and can be found in the link above.
- Old template:
<includeonly>{{#invoke:Item stats|result}}</includeonly>
{{Item stats|<item name>|Unique1=One branch grants|Unique2=Yes, it grants}}
- The
Unique1
andUnique2
parameters are optional.Unique1
modifies the One <item name> grants part.Unique2
modifies the it also grants part.