Template:Item/Food/Category/fr: Difference between revisions
From Vintage Story Wiki
< Template:Item | Food
(Created page with "Laitages") |
(Created page with "Protéines") |
||
Line 4: | Line 4: | ||
| vegetable = Légumes | | vegetable = Légumes | ||
| grain = Céréales | | grain = Céréales | ||
| protein = | | protein = Protéines | ||
| dairy = Laitages | | dairy = Laitages | ||
| no nutrition | | no nutrition |
Latest revision as of 15:07, 11 December 2023
[view | edit | history | purge this page]Documentation
Returns food category name by it's id. Support translations.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Food category id | 1 | case-insensitive
| String | required |
Usage
{{Item/Food/Category|category id}}
Examples
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.