Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!


Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση
[view | edit | history | purge]Documentation
No image.svg










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
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[επεξεργασία κώδικα]

[view | edit | history | purge]The above documentation is transcluded from Πρότυπο:Mod/Food/doc.