Template:ItemSprite/doc

From TibiaCraft
Jump to navigationJump to search
This is the documentation page. It should be transcluded into Template:ItemSprite. See Template:Documentation for more information.
This template uses Module:SpriteFile, a script written in Lua.

This template displays an item sprite from the following naming scheme: File:ItemSprite_<id>.png

Parameters

Name Usage
|1= Sets the sprite. Spaces within this parameter are replaced with dashes and letters are made lowercase.
Value may be a name or a number, though names are preferred
|link= Sets the link for the sprite and the optional text. If unset or set to none, no link is added
Supports both internal and external links
|text= If set, the value is displayed as text after the sprite.

Examples

Code Result
{{ItemSprite|iron-helmet}} ItemSprite iron-helmet.png: Sprite image for iron-helmet in Minecraft
{{ItemSprite|apple}} ItemSprite apple.png: Sprite image for apple in Minecraft
{{ItemSprite|diamond-pickaxe}} ItemSprite diamond-pickaxe.png: Sprite image for diamond-pickaxe in Minecraft
{{ItemSprite|compass}} ItemSprite compass.png: Sprite image for compass in Minecraft

Full list

Here is a full list of items:

See also

Minecraft
Minecraft (legacy)

Minecraft Dungeons

Minecraft Legends

Minecraft Story Mode

Franchise

Other