Template:IPAc-cmn/doc

This template is used to produce a phonetic or phonemic representation (using the IPA system) of Mandarin Chinese words or sounds, using Pinyin input to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Help:IPA for Mandarin. Optionally, an audio file can also be specified.

Usage
The number of parameters is always limited to 41 (Note: parameter #41 can only be a tone number).

Normal usage:
 *   produces
 *   produces

With an audio file:
 *   produces

To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters):
 *   produces
 *   produces

The full range of special values for the first parameter (changing the delimiters and/or specifying that the next parameter is an audio file) is as follows:
 * -- [- -] // /- -/ AUD -]AUD //AUD -/AUD

For example, to link an audio clip as well as change delimeters:
 *   produces

Initials
The following initials are used as in Pinyin, and represent their normal sounds in Standard Mandarin:
 * b p m f d t n l g k h j q x	zh ch sh r z c s

Finals
Each final should be entered as a whole parameter, and as if it were not preceded by an initial, though in most cases either form is acceptable:
 * yong</tt> (or iong</tt>), wa</tt> (or ua</tt>), etc.

But note that the finals with ⟨ü⟩, despite usually being written ⟨u⟩ in Pinyin, must either be substituted with yu ü v</tt>, or written together with the initial j, q, or x. Similarly, the null final of shi, ri, etc. must either be substituted with ^</tt> (a caret), or written together with the initial z(h) c(h) s(h) or r.

Erhua is indicated simply with an ‹-r› as part of the final, e.g., angr</tt>.


 * ^</tt> =
 * ai</tt> =
 * an</tt> =
 * a</tt> =
 * ang</tt> =
 * ao</tt> =
 * ei</tt> =
 * en</tt> =
 * ê</tt> =
 * <tt>e</tt> =
 * <tt>eng</tt> =
 * <tt>yi, i</tt> =
 * <tt>yin, in</tt> =
 * <tt>ying, ing</tt> =
 * <tt>ya, ia</tt> =
 * <tt>yang, iang</tt> =
 * <tt>yao, iao</tt> =


 * <tt>ye, ie</tt> =
 * <tt>yan, ian</tt> =
 * <tt>you, iu</tt> =
 * <tt>yo, io</tt> =
 * <tt>yong, iong</tt> =
 * <tt>ou</tt> =
 * <tt>o</tt> =
 * <tt>wu</tt> =
 * <tt>yue, üe, ve</tt> =
 * <tt>yuan, üan, van</tt> =
 * <tt>ong</tt> =
 * <tt>wa, ua</tt> =
 * <tt>wai, uai</tt> =
 * <tt>wan, uan</tt> =
 * <tt>wang, uang</tt> =
 * <tt>wei, ui</tt> =
 * <tt>wen, un</tt> =


 * <tt>weng</tt> =
 * <tt>wo, uo, o</tt> =
 * <tt>yu, ü, v</tt> =
 * <tt>yun, ün, vn</tt> =
 * <tt>er, ar, air, anr</tt> =
 * <tt>angr</tt> =
 * <tt>aor</tt> =
 * <tt>^r</tt> =
 * <tt>eir, enr</tt> =
 * <tt>engr</tt> =
 * <tt>e'r</tt> =
 * <tt>yar, iar</tt> =
 * <tt>yanr, ianr</tt> =
 * <tt>yangr, iangr</tt> =
 * <tt>yaor, iaor</tt> =
 * <tt>yinr, inr, yir, ir</tt> =
 * <tt>yer, ier</tt> =
 * <tt>yingr, ingr</tt> =


 * <tt>your, iur</tt> =
 * <tt>yongr, iongr</tt> =
 * <tt>our</tt> =
 * <tt>yuanr, üanr, vanr</tt> =
 * <tt>yur, ür, vr, yunr, ünr, vnr</tt> =
 * <tt>yuer, üer, ver</tt> =
 * <tt>ongr</tt> =
 * <tt>war, uar, wair, uair, wanr, uanr</tt> =
 * <tt>wangr, uangr</tt> =
 * <tt>weir, uir, wenr, unr</tt> =
 * <tt>wengr</tt> =
 * <tt>wur</tt> =
 * <tt>wor, uor</tt> =
 * <tt>M</tt> =
 * <tt>N</tt> =
 * <tt>NG</tt> =

Tones
The tones are indicated by their traditional tone number, entered as the parameter after the final of the syllable. Note that this template uses IPA tone diacritics, which are different from the Pinyin tone diacritics:

Special parameters
The following parameters have special meanings:
 * <tt>-</tt> (hyphen) for a space between words
 * <tt>.</tt> (period) for a syllable break
 * <tt>'</tt> (apostrophe) for a primary stress mark (placed before the stressed syllable)
 * <tt>,</tt> (comma) for a secondary stress mark (placed before the stressed syllable)

Other values used as parameters will be displayed unconverted. (The conversion system is coded in Template:c-cmn. The tones are encoded in Template:tone-cmn)