Jump to content

Template:HeroIcon

From The Deadlock Wiki
Template documentation [view] [edit] [history] [purge]

Usage[edit source]

This template creates a small hero icon. The label and link will be automatically translated on a language subpage. See: Module:Icon/data.

Examples[edit source]

{{HeroIcon|Trapper}}
{{HeroIcon|Dynamo|l1=Professor Dynamo}}
{{HeroIcon|Warden|size=40px}}

Trapper Professor Dynamo Warden

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Hero name.

Stringrequired
l1l1

Custom text.

Stringoptional
sizesize

Icon size.

Suggested values
30px 40px 50px
Default
20px
Stringoptional
no-linkno-link

Removes the link.

Suggested values
true
Booleanoptional
icon-onlyicon-only

Hides any text.

Suggested values
true
Booleanoptional