Template:ItemSprite/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
(No difference)

Revision as of 13:15, 27 October 2023

This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg
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}} File:ItemSprite iron-helmet.png
{{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 entities:

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Other


de:Vorlage:GegenstandSprite/Dokumentation es:Plantilla:ItemSprite/doc fr:Modèle:ObjetSprite/doc ja:テンプレート:ItemSprite/doc ko:틀:ItemSprite/doc pl:Szablon:ItemSprite/doc ru:Шаблон:Спрайт/Предмет/док th:แม่แบบ:ItemSprite/doc uk:Шаблон:Спрайт/Предмет/док zh:Template:ItemSprite/doc