Template: Infobox chinese food

From Chinese Food Wiki
Jump to: navigation, search
Alternative names
Pinyin
Type
Course
Place of origin
Region or state
Other

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

File name without the File: prefix.

Filesuggested
Captioncaption

Text under the image.

Contentoptional
Widthwidth

Box width; default 138px (grows to fit the image). Some place pages use 270px.

Stringoptional
Alternative namesalternate_name

Other names, including the Chinese name.

Contentsuggested
Pinyinpinyin

Pinyin with tone marks.

Stringsuggested
Typetype

Kind of food or drink.

Contentsuggested
Coursecourse

Course or occasion.

Contentoptional
Place of origincountry

Usually China.

Contentsuggested
Region or stateregion

Province, city or region of origin.

Contentsuggested
Cuisinecuisine

Culinary tradition, e.g. [[Sichuan Food|Sichuan cuisine]]. Row hidden when empty.

Contentoptional
Otherother

Short free-text note.

Contentoptional
Intangible heritageheritage

National-level ICH listing; must be backed by an ihchina.cn record cited in the article body. Row hidden when empty.

Contentoptional
Geographical indicationgi

GI status; must be backed by a CNIPA record cited in the article body. Row hidden when empty.

Contentoptional
Last verifiedlast_verified

Year-month last checked, e.g. 2026-09. Row hidden when empty.

Stringoptional