Dota 2 Wiki
Advertisement
Dota 2 Wiki
20,118
pages

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

Automatically categorizes heroes by roles.

Usage

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

Example

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

TemplateData

Display a role icon and a link to that role.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Role1

The role's name.

Stringrequired
Size2

The role icon's size.

Default
24px
Stringoptional
Advertisement