Template:InvSprite: Difference between revisions
Jump to navigation
Jump to search
m transclude doc directly again |
m Added the scale option. |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: sprite | sprite | <includeonly>{{#invoke: sprite | sprite | ||
| data = InvSprite | | data = InvSprite | scale = {{#if: {{{scale|}}} | {{{scale}}} | 1 }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{/doc}} | {{/doc}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | </noinclude> |
Revision as of 12:03, 30 May 2020
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}}
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
{{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 es:Plantilla:InvSprite fr:Modèle:InvSprite ja:テンプレート:InvSprite ko:틀:InvSprite pt:Predefinição:InvSprite ru:Шаблон:ИнвСпрайт th:แม่แบบ:InvSprite uk:Шаблон:ІнвСпрайт zh:Template:InvSprite