[purge]
This is the documentation page, it should be transcluded into the main sablon page. Lásd: Sablon:Dokumentáció további információértThis 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}} |
|
{{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}} |
Fájl:Grid Iron Cap (Thaumcraft).png Iron Cap |
{{InvLink|Fire|icon=invicon}} |
Fájl:Invicon Fire.gif Fire |
See also[]
{{Grid}}{{ItemSprite}}{{Item}}(infobox){{Items}}(navbox){{BiomeLink}}{{BlockLink}}{{EffectLink}}{{EntityLink}}{{EnvLink}}{{InvLink}}{{ItemLink}}{{FrontPageLink}}- Module:Sprite