本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:Food
此模板使用了模块:Infobox,此脚本使用Lua编写。
更多详情,请参阅维基百科:Lua和MediaWiki:扩展:Scribunto。
该模板用于在食物页面提供一个统一的设计。
{{Food
|title=
|image=
|invimage=
|rarity=
|heals=
|stackable=
|experience=
|nameid=
}}
| 参数 | 功能 | 默认值 |
|---|---|---|
title |
可选。使用一个不同的标题来代替默认使用页面名称的标题。 | {{BASEPAGENAME}}
|
image |
食物的图形(大小约150×150px) | 如果 {{{title}}}.png 不存在,则使用No image.svg(链接到上传缺失图像的页面)
|
imageN |
食物的多种状态图片(大小约150×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 |
Other images for object in inventory. Uses Template:Grid. | None |
rarity |
稀有度 | 此食物的稀有度,默认值为普通。 |
heals |
Restores | ? |
stackable |
Stackable | ? |
experience |
Gives experience? If so, add the value like this: "Cooked: 0.5" | None |
nameid |
The food's named identifier. Can use None to force no name ID. | title or {{BASEPAGENAME}}
|
See also
- Minecraft
{{Biome}}{{Block}}{{Development phase}}{{Enchantment}}{{Effect}}{{Entity}}{{Item}}{{Structure}}
- Minecraft Dungeons
{{DungeonsEnchantment}}{{DungeonsEntity}}{{DungeonsItem}}
- 其他
{{3rd Party Tool}}{{Album}}{{Book}}{{Company}}{{Person}}{{Profile}}{{Program}}{{Version nav}}

沪公网安备 31011002002714 号