[yenile]
Bu bir belgeleme sayfası ve içeriği ana şablonun sayfasına görünecek. Daha fazla için Şablon:Belgeleme sayfasına bakınŞablon:İnfobox common This template provides a uniform design for food pages.
Differences between the regular Food template and the Mod/Food template are:
- Title defaults to {{SUBPAGENAME}} instead of {{BASEPAGENAME}}
- Image defaults to appending the name of your mod to the end of the image {{{title}}} (Name of 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 |
See also[]
{{3rd Party Tool}}{{Block}}{{BlockTileEntity}}{{Company}}{{Entity}}{{Food}}{{Gamemode}}{{Item}}{{ItemEntity}}{{Mod}}{{Person}}{{Profile}}{{Program}}{{Structure}}{{Technical Block}}{{Version nav}}- Module:Infobox
{{Mod/Block}}{{Mod/Item}}