Template:InvSprite/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
m interwiki KO
Line 46: Line 46:
[[fr:Modèle:InvSprite]]
[[fr:Modèle:InvSprite]]
[[ja:テンプレート:InvSprite]]
[[ja:テンプレート:InvSprite]]
[[ko:틀:InvSprite]]
[[pt:Predefinição:InvSprite]]
[[pt:Predefinição:InvSprite]]
[[ru:Шаблон:ИнвСпрайт]]
[[ru:Шаблон:ИнвСпрайт]]
Line 57: Line 58:
[[fr:Modèle:InvSprite/doc]]
[[fr:Modèle:InvSprite/doc]]
[[ja:テンプレート:InvSprite/doc]]
[[ja:テンプレート:InvSprite/doc]]
[[ko:틀:InvSprite/doc]]
[[pt:Predefinição:InvSprite/doc]]
[[pt:Predefinição:InvSprite/doc]]
[[ru:Шаблон:ИнвСпрайт/док]]
[[ru:Шаблон:ИнвСпрайт/док]]

Revision as of 03:07, 21 February 2024

This is the documentation page. It should be transcluded into Template:InvSprite. See Template:Documentation for more information.
This template uses Module:SpriteFile, a script written in Lua.

This template displays an inventory image.

Parameters

Name Usage
name= Sets the image.
link= Sets the link for the image 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 image.
scale= Sets the scale of the image. If unset the default parameter is 1.

Example

{{InvSprite|Grass Block}}

Invicon Grass Block.png: Sprite image for Grass Block in Minecraft

Full list

Here is a full list of entities:

Animated icons

See Category:Animated inventory icons for a list of animated icons.
They can be used like the static icons above, just omit the Invslot prefix and extension from the file name.

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Other


de:Vorlage:InvSprite/Dokumentation es:Plantilla:InvSprite/doc fr:Modèle:InvSprite/doc ja:テンプレート:InvSprite/doc ko:틀:InvSprite/doc pt:Predefinição:InvSprite/doc ru:Шаблон:ИнвСпрайт/док th:แม่แบบ:InvSprite/doc uk:Шаблон:ІнвСпрайт/док zh:Template:InvSprite/doc