Template:zh-pron

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

The following documentation is located at Template:zh-pron/documentation. [edit]

The pronunciation template for Chinese varieties. Does its work via:

Parameters[edit]

  • |m=, |c=, |mn=, |w=
    Mandarin Pinyin, Cantonese Jyutping, Min Nan POJ, Wu pronunciation.
  • |ma=, |ca=, |ga=, |ha=, |ja=, |mna, |wa=, |xa=
    Pronunciation file. If equals 'y', then links to zh-PINYIN.ogg, yue-CHARACTERS.ogg, gan-CHARACTERS.ogg, hak-CHARACTERS.ogg, cjy-CHARACTERS.ogg, nan-CHARACTERS.ogg, wuu-CHARACTERS.ogg, hsn-CHARACTERS.ogg; else, links to the argument.
  • |mc= (position in rime book), |oc= ('y' or number (, or ; separated))
    Middle Chinese and Old Chinese pronunciations. See , , , , for examples.

Since a unified Chinese approach is agreed upon, the presence of definitions in these parameters will categorise the page into the appropriate variety categories.

Collapsed if count of varieties > 1, uncollapsed if = 1.

See the table pos_aliases_cat in Module:zh-pron for aliases of category names.

Empty template[edit]

{{zh-pron
|m=
|c=
|h=pfs=
|md=
|mn=
|w=
|mc=
|oc=
}}

Example[edit]

中國[edit]

{{zh-pron
|m=Zhōngguó
|c=zung1 gwok3
|mn=Tiong-kok
|w=1tson koq
|ma=y|ca=y|ga=y|ja=y|mna=y|wa=y|xa=y
|cat=pn
}}

generates


歷史[edit]

{{zh-pron
|m=lìshǐ
|c=lik6 si2
|mn=le̍k-sú
|w=5liq sr
|ma=y
|cat=n
}}

generates



佢哋[edit]

{{zh-pron
|c=keoi5 dei6
}}

generates