Šablona:InvLink

Z Minecraft Wiki
Přejít na: navigace, hledání
[view | edit | history | purge]Documentation

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

Usage[editovat zdroj]

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[editovat zdroj]

Code Result
{{InvLink|Cobblestone}}
Cobblestone
{{InvLink|Lava|Lava (Inventory)|icon=grid}} Grid Lava.png 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).png Iron Cap
{{InvLink|Fire|icon=invicon}} Invicon Fire.gif Fire

See also[editovat zdroj]

[view | edit | history | purge]The above documentation is transcluded from Šablona:InvLink/doc.