本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明

全站通知:

模板:Item

来自我的世界地下城WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索
[查看 | 编辑 | 历史 | 清除缓存]文档页面
Lua logo.svg

此模板使用了模块:Infobox,此脚本使用Lua编写。
更多详情,请参阅维基百科:LuaMediaWiki:扩展:Scribunto

Item
No image.svg
最大堆叠
64
物品ID
?

本模板为所有物品页面提供统一的设计。如果物品能回复生命值,请使用Template:Food

{{Item
|title=
|image=
|imagesize=
|image2=
|image2size=
|image3=
|image3size=
|invimage= <!-- invimage2, invimage3...invimage25 -->
|durability=
|renewable=
|stackable=
|nameid=
}}
Parameter Function Default/Example value
title Optional value to use a different title instead of the page name {{BASEPAGENAME}}
image Image of the block (should be approx. 150x150px) {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
imagesize Adjusts the size of the image 150px
image2 Image of the block (should be approx. 150x150px) None
image2size Adjusts the size of the second image 150px
image3 Image of the block (should be approx. 150x150px) None
image3size Adjusts the size of the third image 150px
invimage Image for object in inventory. Can use None to force no invimage. Uses Template:Grid. Grid {{{title}}}.png if it exists, otherwise None
invimageN 第N个多种显示状态的物品的物品栏图像,2<=N<=25。 None
durability How durable the item is N/A
renewable Whether the item is 可再生 ?
stackable Stackable ?
nameid The item's named identifier. Can use None to force no name ID. title or {{BASEPAGENAME}}

See also

Minecraft
Minecraft Dungeons
其他