此模板使用了Module:Infobox,此脚本使用Lua编写。
更多详情,请参阅维基百科:Lua和MediaWiki:扩展:Scribunto。
此条目的(部分)内容需要翻译。
你可以帮助我们来翻译此条目,但请勿使用机器翻译。
本模版为所有物品页面提供统一的设计。如果物品能回复生命值,请使用Template:Food。
{{Item
|title=
|image=
|imagesize=
|image2=
|image2size=
|image3=
|image3size=
|invimage= <!-- invimage2, invimage3...invimage25 -->
|otherosonly=
|durability=
|renewable=
|stackable=
|availability=
|data=
|nameid=
|firstver=
}}
Please note that if the item has multiple data values, use |multipledata= instead. See below:
| 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。Uses Template:Grid. | None |
otherosonly |
For use if the item is only available in a specific version of Minecraft. | None |
durability |
How durable the item is | N/A |
renewable |
Whether the item is renewable | ? |
stackable |
Stackable | ? |
availability |
The availability of an item | ? |
data |
Single decimal data value | None |
nameid |
The item's named identifier. Can use None to force no name ID. | title or {{BASEPAGENAME}}
|
multipledata |
Multiple decimal data values, use {{dv}} |
None |
firstver |
First version that it was seen in (e.g. Alpha 1.0.17, classic 0.0.23a). | None |
See also
- Minecraft
{{Biome}}{{Block}}{{Development phase}}{{Enchantment}}{{Effect}}{{Entity}}{{Item}}{{Structure}}
- Minecraft Dungeons
{{DungeonsEnchantment}}{{DungeonsEntity}}{{DungeonsItem}}
- 其他
{{3rd Party Tool}}{{Album}}{{Company}}{{Person}}{{Profile}}{{Program}}{{Version nav}}