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}} Invicon Fire.gif

另见

Minecraft
Minecraft Dungeons
其他