Template:Item/Food/Category/ru: Difference between revisions

From Vintage Story Wiki
(Created page with "Молоко")
(Created page with "Неизвестно")
Line 10: Line 10:
  | #default = {{{1}}} <!-- Fallback to input value -->
  | #default = {{{1}}} <!-- Fallback to input value -->
  |
  |
  | unknown = <span lang="en" dir="ltr" class="mw-content-ltr">Unknown</span>
  | unknown = Неизвестно
   
   
}}</includeonly>
}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 15:11, 11 December 2023

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}}

Фрукты

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.