Template:ItemSprite: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
No edit summary
 
m (1 revision imported: Imported from minecraft.wiki)
 
(No difference)

Latest revision as of 23:32, 5 November 2023

[view] [edit] [history] [⧼smw purge⧽]Documentation
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
{{ItemSprite|parallel:totem-of-the-void}} ParallelItemSprite totem-of-the-void.png: Sprite image for totem-of-the-void in Minecraft

Full list

Here is a full list of entities:

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Other

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

[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:ItemSprite/doc.