Šablona:InvLink/doc – minecraft.fandom.com

Treść tej podstrony pochodzi z artykułu „Šablona:InvLink/doc” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

This template creates a page link with an image of the item as it's shown in the inventory.

Usage[]

By default, this uses images from {{InvSprite}}. To use images from File:Grid <name>.png and to work with mods, you need to set {{{icon}}} to grid.

Examples[]

Code Result
{{InvLink|Cobblestone}} Cobblestone
{{InvLink|Lava|Lava (Inventory)|icon=grid}} Grid Lava Lava (Inventory)
{{InvLink|id=Stone|Monster Egg|Silverfish Stone}} Silverfish Stone
{{InvLink|Saddle}} Saddle
{{InvLink|id=Iron Cap (Thaumcraft)|Mods/Thaumcraft/Iron Cap|Iron Cap|icon=grid}} Grid Iron Cap (Thaumcraft) Iron Cap
{{InvLink|Fire|icon=invicon}} Fire 1 (texture) JE2-a2 Fire

See also[]