Template:Infobox Chinese name/doc

Usage
Use this template to show a Chinese name, word, term or phrase in various renderings. 

Optional flags


 * child=yes: to use this template inside another infobox. If this flag is set, the   parameter should be omitted.
 * order=st: By default Traditional Chinese comes first on display. If this flag is called, Simplified Chinese will be displayed first.  This is for articles having to do with PRC, Singapore, Malaysia, or Simplified Chinese.
 * hide=no: By default all romanizations and transcriptions are hidden. If this flag is called, all the transcriptions will be shown.

Optional showflag
By default no romanization will show outside of the hide area. You can call this flag when using the template to have certain romanizations appear permanently in favor of certain regions.


 * Mandarin
 * showflag=p: this will show pinyin outside of the hide area.
 * showflag=bpmf: this will show Bopomofo outside of the hide area
 * showflag=xej: this will show Xiao'erjing outside of the hide area


 * Hakka
 * showflag=h: this will show hakka outside of the hide area.


 * Min
 * showflag=poj: this will show Hokkien poj outside of the hide area.
 * showflag=teo: this will show Teochew Peng'im outside of the hide area.
 * showflag=buc: this will show Fuzhou buc outside of the hide area.
 * showflag=lizu: this will show Leizhou Min outside of the hide area.
 * showflag=hain: this will show Hainanese Romanised outside of the hide area.


 * Yue
 * showflag=pj: this will show pinyin then jyutping outside of the hide area.
 * showflag=gdp: this will show Guangdong Romanization then pinyin outside of the hide area.
 * showflag=jp: this will show jyutping then pinyin outside of the hide area.
 * showflag=j: this will show jyutping outside of the hide area.
 * showflag=jyp: this will show jyutping, Cantonese yale, then pinyin outside of the hide area.
 * showflag=toip: this will show Taishanese, then pinyin outside of the hide area.


 * Wu
 * showflag=wuu: this will show Wu outside of the hide area.
 * showflag=lmz: this will show Shanghainese outside of the hide area.


 * Xiang
 * showflag=hsn: this will show Xiang outside of the hide area.


 * Gan
 * showflag=gan: this will show Gan outside of the hide area.


 * Sichuanese Mandarin
 * showflag=psic: this will show pinyin then Sichuanese pinyin outside of the hide area.

Alternative usage
Alternatively, the template can also be constructed as a modular infobox by sandwiching one or more components between a header and footer (similarly to Template:Infobox animanga):

which gives the following result:

Using the collapse parameter
The collapse parameter allows abbreviated, expandable versions of this template. At right is the same template as above, with collapse set to yes.
 * collapse=yes     (collapsable template, initially in collapsed state)
 * collapse=no      (collapsable template, initially in expanded state)
 * if the parameter is omitted, the standard (non-collapsable) version is used.