Template:Item stats

From Dota 2 Wiki
Jump to: navigation, search

Documentation for Template:Item stats [ view | edit | purge ]

Lua logo.svg
▶️ Swapsies!
This template uses Lua.
Its code can be found under Module:Item stats.


This template is used on item pages to display the additional bonuses an item grants based on its stats.

Usage[edit]

{{Item stats|PAGENAME|Unique1=One branch grants|Unique2=Yes, it grants}}

  • The Unique1 and Unique2 parameters are optional.
    • Unique1 modifies the One <item name> grants part.
    • Unique2 modifies the it also grants part.

Example[edit]

TemplateData[edit]

Automatically calculates an item's stats and the bonuses it grants to heroes of a certain attribute

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Item1

The item's name.

Default
empty
Example
Aghanim's Scepter
Auto value
{{subst:PAGENAME}}
Stringrequired
Unique1Unique1

Modifies the "One <item name> grants" part.

Default
empty
Example
empty
Auto value
Stringoptional
Unique2Unique2

Modifies the "it also grants" part.

Default
empty
Example
empty
Auto value
empty
Stringoptional