Template:InvLink

来自Minecraft基岩版开发Wiki
[查看 | 编辑 | 历史 | 清除缓存]文档页面

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

用途[编辑]

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.

例子[编辑]

代码 结果
{{InvLink|Cobblestone}} 圆石
{{InvLink|Lava|熔岩(物品)}} 熔岩(物品)
{{InvLink|id=Stone|Infested Block|Silverfish Stone}} Silverfish Stone
{{InvLink|Saddle}}
{{InvLink|Fire|link=火|火|icon=invicon}} File:Invicon Fire.gif

另见[编辑]

Minecraft
其他