Template:InvSprite/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m 35 revisions imported |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation header}} | <noinclude>{{Documentation header}} | ||
{{lua| | </noinclude>{{lua|SpriteFile}} | ||
This template displays an inventory image. | This template displays an inventory image. | ||
== Parameters == | == Parameters == | ||
Line 11: | Line 9: | ||
! Usage | ! Usage | ||
|- | |- | ||
| | | {{p|name}} | ||
| Sets the image. | | Sets the image. | ||
|- | |- | ||
| | | {{p|link}} | ||
| Sets the link for the image and the optional text. If unset or set to <code>none</code>, no link is added | | Sets the link for the image and the optional text. If unset or set to <code>none</code>, no link is added<br>Supports both internal and external links<br> | ||
|- | |- | ||
| | | {{p|text}} | ||
| If set, the value is displayed as text after the image. | | If set, the value is displayed as text after the image. | ||
|- | |- | ||
| | | {{p|scale}} | ||
| Sets the scale of the image. If unset the default parameter is <code>1</code>. | | Sets the scale of the image. If unset the default parameter is <code>1</code>. | ||
|} | |} | ||
Line 29: | Line 27: | ||
{{InvSprite|Grass Block}} | {{InvSprite|Grass Block}} | ||
== | == Full list == | ||
Here is a full list of entities: | |||
<div class="js-spritedoc" data-sprite-name="Invicon" data-sprite-keepcase="1" data-sprite-size="32">[[:Category:InvSprite files]]</div> | |||
=== Animated icons === | === Animated icons === | ||
Line 38: | Line 36: | ||
== See also == | == See also == | ||
* {{tl|InvLink}} | |||
* {{tl|Inventory slot}} | * {{tl|Inventory slot}} | ||
{{Sprite see also}} | {{Sprite see also}} | ||
Line 44: | Line 43: | ||
[[Category:Sprite templates]] | [[Category:Sprite templates]] | ||
[[de:Vorlage:InvSprite]] | [[de:Vorlage:InvSprite]] | ||
[[es:Plantilla:InvSprite]] | |||
[[fr:Modèle:InvSprite]] | [[fr:Modèle:InvSprite]] | ||
[[ja:テンプレート:InvSprite]] | [[ja:テンプレート:InvSprite]] | ||
[[ko:틀:InvSprite]] | |||
[[pt:Predefinição:InvSprite]] | [[pt:Predefinição:InvSprite]] | ||
[[ru:Шаблон:ИнвСпрайт]] | [[ru:Шаблон:ИнвСпрайт]] | ||
[[th:แม่แบบ:InvSprite]] | |||
[[uk:Шаблон:ІнвСпрайт]] | |||
[[zh:Template:InvSprite]] | [[zh:Template:InvSprite]] | ||
</includeonly> | </includeonly> | ||
<noinclude><!-- Documentation categories/interwiki --> | <noinclude><!-- Documentation categories/interwiki --> | ||
[[de:Vorlage:InvSprite/Dokumentation]] | [[de:Vorlage:InvSprite/Dokumentation]] | ||
[[es:Plantilla:InvSprite/doc]] | |||
[[fr:Modèle:InvSprite/doc]] | [[fr:Modèle:InvSprite/doc]] | ||
[[ja:テンプレート:InvSprite/doc]] | [[ja:テンプレート:InvSprite/doc]] | ||
[[ko:틀:InvSprite/doc]] | |||
[[pt:Predefinição:InvSprite/doc]] | [[pt:Predefinição:InvSprite/doc]] | ||
[[ru:Шаблон:ИнвСпрайт/док]] | [[ru:Шаблон:ИнвСпрайт/док]] | ||
[[th:แม่แบบ:InvSprite/doc]] | |||
[[uk:Шаблон:ІнвСпрайт/док]] | |||
[[zh:Template:InvSprite/doc]] | [[zh:Template:InvSprite/doc]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:33, 4 July 2024
[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}}
Invicon Grass Block.png: Sprite image for Grass Block in Minecraft
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/Dokumentation es:Plantilla:InvSprite/doc fr:Modèle:InvSprite/doc ja:テンプレート:InvSprite/doc ko:틀:InvSprite/doc pt:Predefinição:InvSprite/doc ru:Шаблон:ИнвСпрайт/док th:แม่แบบ:InvSprite/doc uk:Шаблон:ІнвСпрайт/док zh:Template:InvSprite/doc