Template:SlotSprite: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke: sprite | sprite
<includeonly>{{#invoke: spriteFile | sprite
| data = SlotSprite
| name = SlotSprite | size = 32 | align = middle
| class = {{lc:{{#dplreplace: slot-{{{1|}}}-sprite | / / | - }}}} {{{class|}}}
| keepcase = 1
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->

Revision as of 14:12, 6 October 2023

[view] [edit] [history] [refresh]Documentation
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 fr:Modèle:EmplacementSprite ja:テンプレート:SlotSprite ko:틀:SlotSprite nl:Sjabloon:VakSprite uk:Шаблон:Спрайт/Слот zh:Template:SlotSprite

[view] [edit] [history] [refresh]The above documentation is transcluded from Template:SlotSprite/doc.