Genshin Impact Wiki
Genshin Impact Wiki
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Displays Element icon.

Examples

{{Icon/Element|Anemo}}{{Icon/Element|Cryo}}{{Icon/Element|Dendro}}{{Icon/Element|Electro}}{{Icon/Element|Geo}}{{Icon/Element|Hydro}}{{Icon/Element|Pyro}}{{Icon/Element|Unaligned}}

AnemoCryoDendroElectroGeoHydroPyroUnaligned

{{Icon/Element|Anemo|25}}{{Icon/Element|Cryo|50}}

AnemoCryo

{{Icon/Element|Anemo|100|link=1}}{{Icon/Element|Cryo|100|link=1}}{{Icon/Element|Dendro|100|link=1}}{{Icon/Element|Electro|100|link=1}}{{Icon/Element|Geo|100|link=1}}{{Icon/Element|Hydro|100|link=1}}{{Icon/Element|Pyro|100|link=1}}{{Icon/Element|Unaligned|100|link=1}}

Anemo
Anemo
Cryo
Cryo
Dendro
Dendro
Electro
Electro
Geo
Geo
Hydro
Hydro
Pyro
Pyro
Unaligned
Unaligned

Template Data

Displays Element icon.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Element1

Element to show.

Stringrequired
Size2

Size of icon.

Default
30
Numberoptional
Extension3

File extension.

Default
svg
Stringoptional
Show Linklink

Show element link text.

Example
1
Booleanoptional
Text Contenttext

Text to show when "link = 1".

Default
"Element"
Stringoptional
Hide Textnotext

Hide text when "link = 1"

Example
1
Booleanoptional
White Iconwhite

Show while icon.

Example
1
Booleanoptional