Template:Item/Food/Category/fr: Difference between revisions
From Vintage Story Wiki
< Template:Item | Food
(Created page with "Céréales") |
(Created page with "Laitages") |
||
Line 5: | Line 5: | ||
| grain = Céréales | | grain = Céréales | ||
| protein = <span lang="en" dir="ltr" class="mw-content-ltr">Protein</span> | | protein = <span lang="en" dir="ltr" class="mw-content-ltr">Protein</span> | ||
| dairy = | | dairy = Laitages | ||
| no nutrition | | no nutrition | ||
| nonutrition = <span lang="en" dir="ltr" class="mw-content-ltr">No nutrition</span> | | nonutrition = <span lang="en" dir="ltr" class="mw-content-ltr">No nutrition</span> |
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.