Template:Item/Food/Category/fr: Difference between revisions
From Vintage Story Wiki
< Template:Item | Food
(Created page with "Légumes") |
(Created page with "Fruits") Tags: Mobile edit Mobile web edit |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
<includeonly>{{#switch: {{lc: {{{1|}}} }} | <includeonly>{{#switch: {{lc: {{{1|}}} }} | ||
| fruit = | | fruit = Fruits | ||
| vegetable = Légumes | | vegetable = Légumes | ||
| grain = <span lang="en" dir="ltr" class="mw-content-ltr">Grain</span> | | grain = <span lang="en" dir="ltr" class="mw-content-ltr">Grain</span> |
Revision as of 15:06, 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.