Template:InvSprite/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
m ja-interwiki
Line 39: Line 39:
[[Category:Sprite templates]]
[[Category:Sprite templates]]
[[fr:Modèle:InvSprite]]
[[fr:Modèle:InvSprite]]
[[ja:テンプレート:InvSprite]]
[[ru:Шаблон:ИнвСпрайт]]
[[ru:Шаблон:ИнвСпрайт]]
[[zh:Template:InvSprite]]
[[zh:Template:InvSprite]]
Line 44: Line 45:
<noinclude><!-- Documentation categories/interwiki -->
<noinclude><!-- Documentation categories/interwiki -->
[[fr:Modèle:InvSprite/doc]]
[[fr:Modèle:InvSprite/doc]]
[[ja:テンプレート:InvSprite/doc]]
[[ru:Шаблон:ИнвСпрайт/док]]
[[ru:Шаблон:ИнвСпрайт/док]]
</noinclude>
</noinclude>

Revision as of 11:16, 27 November 2018

This template uses Module:Sprite, with data stored in Module:InvSprite.
These scripts are written in Lua.
File:InvSprite.png
The spritesheet.

This template displays an inventory image.

Parameters

Name Usage
1= 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.

Example

{{InvSprite|Grass Block}}
Invicon Grass Block.png: Sprite image for Grass Block in Minecraft

Available images

Lua error in package.lua at line 80: module 'Module:InvSprite' not found.

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


fr:Modèle:InvSprite/doc ja:テンプレート:InvSprite/doc ru:Шаблон:ИнвСпрайт/док