Template:Item/Food/Category/th
From Vintage Story Wiki
< Template:Item | Food
[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.