Template: Infobox chinese food
|
Documentation
Infobox chinese food is the summary box for individual dishes, snacks, ingredients, condiments and drinks. For province, city and district food pages, use Template:Infobox food region.
The rows Alternative names, Pinyin, Type, Course, Place of origin, Region or state and Other are always shown, as they have been since the template was created. The four newer rows (Cuisine, Intangible heritage, Geographical indication and Last verified) only appear when their parameter is filled.
Blank syntax
{{Infobox chinese food
| image =
| caption =
| width =
| alternate_name =
| pinyin =
| type =
| course =
| country =
| region =
| cuisine =
| other =
| heritage =
| gi =
| last_verified =
}}
Parameters
| Parameter | Label shown | Shown when empty? | Description |
|---|---|---|---|
image |
— | no | File name without the File: prefix. When it is empty, nothing is shown (no raw markup).
|
caption |
— | no | Text under the image. Only used together with image.
|
width |
— | — | Width of the box. The default is 138px (the box grows to fit the 220 px image). Some place pages use 270px.
|
alternate_name |
Alternative names | yes | Other English names and the Chinese name. |
pinyin |
Pinyin | yes | Pinyin with tone marks. |
type |
Type | yes | For example Noodle soup, Condiment or Huangjiu (rice wine). |
course |
Course | yes | Course or occasion. |
country |
Place of origin | yes | Usually China. |
region |
Region or state | yes | Province, city or region of origin. |
cuisine |
Cuisine | no | Culinary tradition the item belongs to, for example [[Sichuan Food|Sichuan cuisine]]. New (2026-09).
|
other |
Other | yes | Short free-text note (cooking time, related items, etc.). |
heritage |
Intangible heritage | no | National-level intangible cultural heritage (ICH) listing. It must be backed by the ihchina.cn record, cited in the article body. New (2026-09). |
gi |
Geographical indication | no | Geographical indication (GI) status. It must be backed by the CNIPA (cnipa.gov.cn) record, cited in the article body. New (2026-09). |
last_verified |
Last verified | no | Year and month the box was last checked against sources, for example 2026-09. New (2026-09).
|
A few older pages also pass name, national_cuisine, year, main_ingredient, minor_ingredient, similar_dish, mintime or maxtime. This template does not display these parameters.
CSS hooks
The outer table has the classes cfwk-infobox cfwk-infobox-food, the inner table has cfwk-ib-rows, and each optional row has cfwk-ib-row cfwk-ib-parameter. These classes have no styling yet. They exist so that mobile CSS can be added later in MediaWiki:Common.css.
TemplateData
Summary box for Chinese dishes, snacks, ingredients and drinks.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | File name without the File: prefix. | File | suggested |
| Caption | caption | Text under the image. | Content | optional |
| Width | width | Box width; default 138px (grows to fit the image). Some place pages use 270px. | String | optional |
| Alternative names | alternate_name | Other names, including the Chinese name. | Content | suggested |
| Pinyin | pinyin | Pinyin with tone marks. | String | suggested |
| Type | type | Kind of food or drink. | Content | suggested |
| Course | course | Course or occasion. | Content | optional |
| Place of origin | country | Usually China. | Content | suggested |
| Region or state | region | Province, city or region of origin. | Content | suggested |
| Cuisine | cuisine | Culinary tradition, e.g. [[Sichuan Food|Sichuan cuisine]]. Row hidden when empty. | Content | optional |
| Other | other | Short free-text note. | Content | optional |
| Intangible heritage | heritage | National-level ICH listing; must be backed by an ihchina.cn record cited in the article body. Row hidden when empty. | Content | optional |
| Geographical indication | gi | GI status; must be backed by a CNIPA record cited in the article body. Row hidden when empty. | Content | optional |
| Last verified | last_verified | Year-month last checked, e.g. 2026-09. Row hidden when empty. | String | optional |