Template:Item/Food/Category/fr

From Vintage Story Wiki
This page is a translated version of the page Template:Item/Food/Category and the translation is 71% complete.
Other languages:


[view | edit | history | purge this page]Documentation

Returns food category name by it's id. Support translations.

Template parameters

ParameterDescriptionTypeStatus
Food category id1

case-insensitive

Default
unknown
Example
protein
Stringrequired

Usage

{{Item/Food/Category|category id}}

Examples

Allowed food category ids
id Code Result
fruit {{Item/Food/Category|fruit}}

Fruits

vegetable {{Item/Food/Category|vegetable}}

Légumes

grain {{Item/Food/Category|grain}}

Céréales

protein {{Item/Food/Category|protein}}

Protéines

grain {{Item/Food/Category|grain}}

Céréales

dairy {{Item/Food/Category|dairy}}

Laitages

nonutrition {{Item/Food/Category|nonutrition}}

No nutrition

unknown {{Item/Food/Category|unknown}}

Unknown

[view | edit | history | purge this page]The above documentation is transcluded from Template:Item/Food/Category/doc.