Template:Food Infobox/doc
Usage
Details
This template is used by all Food.
Parameter | Description | Type | Status | |
---|---|---|---|---|
IsReleasedAndEnabled | IsReleasedAndEnabled | If this food is an active item in the current build or if its upcoming or removed from the game.
| Boolean | suggested |
ContentLang | ContentLang | Content Language, legacy field from before the french wiki split.
| String | suggested |
CodeNameString | CodeNameString | Game codename for the item, used as the primary ID.
| String | required |
NameText | NameText | Ingame name for the item
| String | required |
Icon | Icon | Game icon image for the food, is set to a default image if none is set.
| String | suggested |
ItemTags | ItemTags | Comma split string list of tags, used for item inventory filtering.
| String | suggested |
RegenPerSec | RegenPerSec | Health regeneration rate per second. | Number | suggested |
RegenDuration | RegenDuration | Health regeneration duration. | Number | suggested |
ConversionRatioToFood | ConversionRatioToFood | TODO | Number | optional |
FoodType | FoodType | Food type/group. I.e Berries, Produce, Fish, Common Meat, Deer Meat, Boar Meat. | Number | optional |
SpoilageDurabilityLossPerSec | SpoilageDurabilityLossPerSec | TODO | Number | optional |
HungerRestored | HungerRestored | Amount of hunger restored. | Number | optional |
HealthLimitRestored | HealthLimitRestored | Amount of health restored. | Number | optional |
StaminaLimitRestored | StaminaLimitRestored | Amount of stamina restored. | Number | optional |
DescriptionText | DescriptionText | Parse through value of the ingame description for the item, placed at the top of the food page. | String | suggested |
DescriptionFooterText | DescriptionFooterText | Parse through value of the ingame description footer for the item, placed at the top of the food page. | String | suggested |