Template:SlotSprite/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m Interwiki
m 17 revisions imported
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{documentation header}}
{{documentation header}}
{{lua|Sprite|data=SlotSprite}}
{{lua|SpriteFile}}
[[File:SlotSprite.png|thumb|The spritesheet.]]
{{moreImages|Bundle + icon}}
{{moreImages|Bundle + icon}}
This template displays an inventory image for empty slots.
This template displays an inventory image for empty slots.
Line 25: Line 24:
{{SlotSprite|Offhand}}
{{SlotSprite|Offhand}}


== Available images ==
== Full list ==
 
Here is a full list of entities:
{{#invoke: sprite | doc | SlotSprite }}
<div class="js-spritedoc" data-sprite-name="SlotSprite" data-sprite-keepcase data-sprite-size="32">[[:Category:SlotSprite images]]</div>


== See also ==
== See also ==
Line 36: Line 35:
<!-- Template categories/interwiki here -->
<!-- Template categories/interwiki here -->
[[Category:Sprite templates]]
[[Category:Sprite templates]]
[[es:Plantilla:SlotSprite]]
[[fr:Modèle:EmplacementSprite]]
[[fr:Modèle:EmplacementSprite]]
[[ja:テンプレート:SlotSprite]]
[[ja:テンプレート:SlotSprite]]
[[ko:틀:SlotSprite]]
[[ko:틀:SlotSprite]]
[[nl:Sjabloon:VakSprite]]
[[nl:Sjabloon:VakSprite]]
[[uk:Шаблон:Спрайт/Слот]]
[[zh:Template:SlotSprite]]
[[zh:Template:SlotSprite]]
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!-- Documentation categories/interwiki here -->
<!-- Documentation categories/interwiki here -->
[[es:Plantilla:SlotSprite/doc]]
[[fr:Modèle:EmplacementSprite/doc]]
[[fr:Modèle:EmplacementSprite/doc]]
[[ja:テンプレート:SlotSprite/doc]]
[[ja:テンプレート:SlotSprite/doc]]
[[ko:틀:SlotSprite/doc]]
[[ko:틀:SlotSprite/doc]]
[[nl:Sjabloon:VakSprite/doc]]
[[nl:Sjabloon:VakSprite/doc]]
[[uk:Шаблон:Спрайт/Слот/док]]
[[zh:Template:SlotSprite/doc]]
[[zh:Template:SlotSprite/doc]]
</noinclude>
</noinclude>

Latest revision as of 11:33, 4 July 2024

This is the documentation page. It should be transcluded into Template:SlotSprite. See Template:Documentation for more information.
This template uses Module:SpriteFile, a script written in Lua.
This page would benefit from the addition of more images. 
Please remove this notice once you've added suitable images to the article.
The specific instructions are: Bundle + icon

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

Full list

Here is a full list of entities:

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Other


es:Plantilla:SlotSprite/doc fr:Modèle:EmplacementSprite/doc ja:テンプレート:SlotSprite/doc ko:틀:SlotSprite/doc nl:Sjabloon:VakSprite/doc uk:Шаблон:Спрайт/Слот/док zh:Template:SlotSprite/doc