Template:InvLink/doc

来自Minecraft基岩版开发Wiki
这是文档页面,它应该被放置到Template:InvLink,查看Template:Documentation以获取更多信息。

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
其他