Template:Role

From Dota 2 Wiki
Jump to: navigation, search

Documentation for Template:Role [ view | edit | purge ]

Automatically categorizes heroes by roles.

Usage[edit]

{{Role|1=|2=}}
  • 1 accepts Carry/Lane Support/etc
  • 2 allows icon size changes (optional). Default icon size is 24px.

Example[edit]

  • {{Role|Carry}} generates "Carry Carry".

TemplateData[edit]

Display a role icon and a link to that role.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Role1

The role's name.

Default
empty
Example
empty
Auto value
empty
Stringrequired
Size2

The role icon's size.

Default
24px
Example
empty
Auto value
empty
Stringoptional