Template:InvSprite/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m fr interwikis
No edit summary
Line 35: Line 35:
[[Category:Sprite templates]]
[[Category:Sprite templates]]
[[fr:Modèle:InvSprite]]
[[fr:Modèle:InvSprite]]
[[ru:Шаблон:ИнвСпрайт]]
</includeonly>
</includeonly>
<noinclude><!-- Documentation categories/interwiki -->
<noinclude><!-- Documentation categories/interwiki -->
[[fr:Modèle:InvSprite/doc]]
[[fr:Modèle:InvSprite/doc]]
[[ru:Шаблон:ИнвСпрайт/док]]
</noinclude>
</noinclude>

Revision as of 06:59, 28 March 2016

This is the documentation page. It should be transcluded into Template:InvSprite. See Template:Documentation for more information.
This template uses Module:Sprite, with data stored in Module:InvSprite and Module:InvSprite/IDs.
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

Template:InvSprite/Image list

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Other


fr:Modèle:InvSprite/doc ru:Шаблон:ИнвСпрайт/док