Template:EntityIcon

From The Deadlock Wiki
Revision as of 12:42, 20 May 2026 by Mgpt (talk | contribs) (Creating EntityIcon for ResourceLookup2.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation [view] [edit] [history] [purge]

This template creates a small entity icon. The label and link will be automatically translated on a language subpage.

For more details, see Module:Icon.

Examples

[edit source]
{{EntityIcon|Trooper}}
{{EntityIcon|Denizen|l1=Neutral}}
{{EntityIcon|Walker|size=40px}}

Trooper Neutral Walker

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Entity name.

Stringrequired
l1l1

Custom text.

Stringoptional
linklink

Custom link.

Stringoptional
imageimage

Custom image.

Example
Image.png, Image.svg
Stringoptional
sizesize

Icon size.

Default
20px
Example
30px, 40px, 50px
Stringoptional
no-linkno-link

Removes the target link.

Suggested values
true
Booleanoptional
no-fileno-file

Removes the file image.

Suggested values
true
Booleanoptional
icon-onlyicon-only

Removes any text.

Suggested values
true
Booleanoptional