Template:SlotSprite/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m Undo revision 1368306 by User-12316399 (talk); done
m ja-interwiki
Line 36: Line 36:
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->
[[Category:Sprite templates]]
[[Category:Sprite templates]]
[[ja:テンプレート:SlotSprite]]
[[ko:틀:SlotSprite]]
[[ko:틀:SlotSprite]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- Documentation categories/interwiki here -->
<!-- Documentation categories/interwiki here -->
[[ja:テンプレート:SlotSprite/doc]]
[[ko:틀:SlotSprite/doc]]
[[ko:틀:SlotSprite/doc]]
</noinclude>
</noinclude>

Revision as of 00:28, 2 May 2019

This is the documentation page. It should be transcluded into Template:SlotSprite. See Template:Documentation for more information.
This template uses Module:Sprite, with data stored in Module:SlotSprite.
These scripts are written in Lua.
File:SlotSprite.png
The spritesheet.

This template displays an inventory image for empty slots.

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

{{SlotSprite|Offhand}}
SlotSprite Offhand.png: Sprite image for Offhand in Minecraft

Available images

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

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Other


ja:テンプレート:SlotSprite/doc ko:틀:SlotSprite/doc