本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:Mod/Food/doc
此模板为Food页面提供了统一的设计。
常规之间的差异 Food template和Mod/Food template是:
- 标题默认为{{SUBPAGENAME}} instead of {{BASEPAGENAME}}
- 图像默认为附加的名称您的MOD的末端。例如,图像 {{{title}}} (Mod的名称).png
- Version links to Mods/Name of Mod/Version n.n.n
- Category links to Mods/Name of Mod/Food
{{Food
|title=
|image=
|invimage=
|type=
|heals=
|cookable=
|renewable=
|stackable=
|light=
|data=
|nameid=
|firstver=
}}
| Parameter | Function | Default value |
|---|---|---|
title |
Optional value to use a different title instead of the page name | {{SUBPAGENAME}}
|
image |
Image of the food (should be approx. 150x150px) | {{{title}}} (Name of Mod).png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
|
invimage |
Image for food in inventory. Can use None to force no invimage. Uses Template:Grid. | Grid {{{title}}} (Name of Mod).png if it exists, otherwise None
|
type |
Type | ? |
heals |
Restores, use {{hungerbar}} |
? |
cookable |
Cookable | ? |
renewable |
Renewable | ? |
stackable |
Stackable | ? |
light |
Emits Light? If "Yes," add the light value like this: "Yes, 9" | None |
data |
Single decimal data value | None |
multipledata |
Multiple decimal data values, use {{dv}} |
None |
nameid |
The food's named identifier. | None |
firstver |
First version of the mod that it was seen in (e.g. Alpha 1.2, or 1.5.0). | None |
multiplever |
Multiple versions that it was seen in | None |
另见
- 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}}{{Mod/Block}}{{Mod/Item}}

沪公网安备 31011002002714 号