Template:Role/doc

From Dota 2 Wiki
Jump to: navigation, search

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 prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Role1

The role's name.

Stringrequired
Size2

The role icon's size.

Default
24px
Stringoptional