Template:ItemSprite

From TibiaCraft
Revision as of 19:23, 4 October 2025 by Root (talk | contribs) (Created page with "<includeonly>{{#invoke: SpriteFile | sprite | name = ItemSprite }}</includeonly><noinclude> {{documentation}} <!-- Put categories/interwiki on the documentation page --> </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Documentation[view] [edit] [history] [purge]
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
[view] [edit] [history] [purge]The above documentation is transcluded from Template:ItemSprite/doc.