Template:InvSprite/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Replace Module:Sprite with Module:SpriteFile |
||
| Line 1: | Line 1: | ||
<noinclude>{{Documentation header}} | <noinclude>{{Documentation header}} | ||
</noinclude>{{lua| | </noinclude>{{lua|SpriteFile}} | ||
This template displays an inventory image. | This template displays an inventory image. | ||
== Parameters == | == Parameters == | ||
| Line 28: | Line 26: | ||
{{InvSprite|Grass Block}} | {{InvSprite|Grass Block}} | ||
=== Animated icons === | === Animated icons === | ||
Revision as of 15:44, 3 October 2023
[refresh]
This is the documentation page. It should be transcluded into Template:InvSprite. See Template:Documentation for more information.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 addedSupports 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}}
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
{{InvLink}}{{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
de:Vorlage:InvSprite/Dokumentation es:Plantilla:InvSprite/doc fr:Modèle:InvSprite/doc ja:テンプレート:InvSprite/doc pt:Predefinição:InvSprite/doc ru:Шаблон:ИнвСпрайт/док th:แม่แบบ:InvSprite/doc uk:Шаблон:ІнвСпрайт/док zh:Template:InvSprite/doc