Template:InvSprite/doc: Difference between revisions
Jump to navigation
Jump to search
File:InvSprite.pngThe spritesheet.
m ja-interwiki |
Added notice for texture update sprites |
||
| Line 2: | Line 2: | ||
[[File:InvSprite.png|thumb|The spritesheet.]] | [[File:InvSprite.png|thumb|The spritesheet.]] | ||
{{msgbox | |||
| mini = 1 | |||
| icon = 8 | |||
| text = Most of the sprites here will become obsolete, for texture update sprites please add them to [[:Template:InvSpriteTextureUpdate]]. | |||
}} | |||
This template displays an inventory image. | This template displays an inventory image. | ||
Revision as of 14:20, 20 April 2019
This template uses Module:Sprite, with data stored in Module:InvSprite.
These scripts are written in Lua.
These scripts are written in Lua.
Most of the sprites here will become obsolete, for texture update sprites please add them to Template:InvSpriteTextureUpdate.
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 addedSupports both internal and external links |
|text=
|
If set, the value is displayed as text after the image. |
Example
{{InvSprite|Grass Block}}
Available images
Lua error in package.lua at line 80: module 'Module:InvSprite' not found.
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
{{Inventory slot}}
- Minecraft
{{BiomeSprite}}{{BlockSprite}}{{EffectSprite}}{{EntitySprite}}{{EnvSprite}}{{ItemSprite}}{{InvSprite}}{{SchematicSprite}}{{SlotSprite}}{{AchievementSprite}}{{NewAchievementSprite}}
- Minecraft (legacy)
{{LegacyBlockSprite}}{{LegacyEntitySprite}}
- Minecraft Dungeons
{{DungeonsLevelSprite}}{{DungeonsEnchantmentSprite}}{{DungeonsEffectSprite}}{{DungeonsEntitySprite}}{{DungeonsItemSprite}}{{DungeonsAchievementSprite}}{{DungeonsMiscellaneousSprite}}
- Minecraft Legends
{{LegendsEntitySprite}}{{LegendsStructureSprite}}{{LegendsAchievementSprite}}{{LegendsMiscellaneousSprite}}
- Other
{{Sprite}}{{Sprite grid}}{{Layered blueprint}}{{Schematic}}{{CommentSprite}}{{FrontPageSprite}}{{ProgressSprite}}{{Tint}}- Module:Sprite
fr:Modèle:InvSprite/doc ja:テンプレート:InvSprite/doc ru:Шаблон:ИнвСпрайт/док