模板: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
其他