Genshin Impact Wiki
Genshin Impact Wiki
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
Lua logo
This template uses Module:Item (edit | hist), a script written in Lua.

Examples[]

{{Enemy|Fatui Pyro Agent}} yields: Fatui Pyro Agent Fatui Pyro Agent
{{Enemy|Blazing Axe Mitachurl|x = 5|text = Umbaloo}} yields: Blazing Axe Mitachurl Umbaloo ×5
{{Enemy|Unknown}} yields: Unknown Unknown
{{Enemy|Unknown|text = Question Mark}} yields: Unknown Question Mark

Template Data[]

Displays an enemy icon and name.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Enemy name1

The name of the enemy whose image to display. (Setting this to "Unknown" will show a generic image and disable links in the template.)

Example
Large Pyro Slime
Page namerequired
Size2

The image size (in pixels).

Default
30
Example
55
Numberoptional
No textnotext

If set to 1, disables the text label so that only the image is shown.

Example
1
Booleanoptional
Linklink

Overrides the link target of the image and its text label. (Ignored if the enemy is "Unknown".)

Default
(same as the enemy name)
Example
Amber
Page nameoptional
Texttext

Overrides the text label to show under the image. (This does not affect the count parameter, so setting this to an empty value will display only the count; e.g., "×2".)

Default
(same as the enemy name)
Lineoptional
Countx

An optional enemy count to display after the text label (e.g., "Hilichurl ×2").

Example
4
Numberoptional