Template:InvSprite: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Fix documentation
m Revert consecutive edits by Violine1101 (talk)
Line 2: Line 2:
| data = InvSprite
| data = InvSprite
}}</includeonly><noinclude>
}}</includeonly><noinclude>
<!-- {{documentation}} -->
{{documentation}}
{{msgbox
| text = Because of technical issues, the documentation is currently not able to be included into this page. Please go '''[[Template:InvSprite/doc|here]]''' to view the documentation for this template.
| bgcol = #FFCCCC
| linecol = #FFAAAA
}}
 
{{#invoke: sprite | doc | InvSprite }}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>

Revision as of 08:03, 17 June 2018

[view] [edit] [history] [refresh]Documentation
This template uses Module:SpriteFile, a script written in Lua.

This template displays an inventory image.

Parameters

Name Usage
name= 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.
scale= Sets the scale of the image. If unset the default parameter is 1.

Example

{{InvSprite|Grass Block}}

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

Full list

Here is a full list of entities:

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

de:Vorlage:InvSprite es:Plantilla:InvSprite fr:Modèle:InvSprite ja:テンプレート:InvSprite ko:틀:InvSprite pt:Predefinição:InvSprite ru:Шаблон:ИнвСпрайт th:แม่แบบ:InvSprite uk:Шаблон:ІнвСпрайт zh:Template:InvSprite

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