Template:Item/Food/Category/ru: Difference between revisions
From Vintage Story Wiki
< Template:Item | Food
(Created page with "Молоко") |
(Created page with "Неизвестно") |
||
Line 10: | Line 10: | ||
| #default = {{{1}}} <!-- Fallback to input value --> | | #default = {{{1}}} <!-- Fallback to input value --> | ||
| | | | ||
| unknown = | | unknown = Неизвестно | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Revision as of 15:11, 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}} |
Фрукты |
vegetable | {{Item/Food/Category|vegetable}} |
Овощи |
grain | {{Item/Food/Category|grain}} |
Злаки |
protein | {{Item/Food/Category|protein}} |
Протеины |
grain | {{Item/Food/Category|grain}} |
Злаки |
dairy | {{Item/Food/Category|dairy}} |
Молоко |
nonutrition | {{Item/Food/Category|nonutrition}} |
Никакого питания |
unknown | {{Item/Food/Category|unknown}} |
Неизвестно |
[view | edit | history | purge this page]The above documentation is transcluded from Template:Item/Food/Category/doc.