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 Communpedia: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

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

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

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 (or iong), 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>.


 * i</tt> = ɨ
 * ai</tt> = aɪ̯
 * an</tt> = an
 * a</tt> = ɑ
 * ang</tt> = ɑŋ
 * ao</tt> = ɑʊ̯
 * ei</tt> = eɪ̯
 * en</tt> = ən
 * ê</tt> = ɛ
 * e</tt> = ɰʌ
 * eng</tt> = əŋ
 * <tt>yi</tt> = i
 * <tt>yin, in</tt> = in
 * <tt>ying, ing</tt> = iŋ
 * <tt>ya, ia</tt> = jɑ
 * <tt>yang, iang</tt> = jɑŋ
 * <tt>yao, iao</tt> = jɑʊ̯


 * <tt>ye, ie</tt> = jɛ
 * <tt>yan, ian</tt> = jɛn
 * <tt>you, iu</tt> = jɤʊ̯
 * <tt>yo, io</tt> = jɔ
 * <tt>yong, iong</tt> = jʊŋ
 * <tt>ou</tt> = ɤʊ̯
 * <tt>o</tt> = ɔ
 * <tt>wu</tt> = u
 * <tt>yue, üe, ve</tt> = ɥœ
 * <tt>yuan, üan, van</tt> = ɥɛn
 * <tt>ong</tt> = ʊŋ
 * <tt>wa, ua</tt> = wɑ
 * <tt>wai, uai</tt> = waɪ̯
 * <tt>wan, uan</tt> = wan
 * <tt>wang, uang</tt> = wɑŋ
 * <tt>wei, ui</tt> = weɪ̯
 * <tt>wen, un</tt> = wən


 * <tt>weng, ueng</tt> = wəŋ
 * <tt>wo, uo</tt> = wɔ
 * <tt>yu, ü, v</tt> = y
 * <tt>yun, ün, vn</tt> = yn
 * <tt>er, ar, air, anr</tt> = ɑɻ
 * <tt>angr</tt> = ɑ̃ɻ
 * <tt>aor</tt> = ɑʊ̯ɻ
 * <tt>ir, eir, enr</tt> = əɻ
 * <tt>engr</tt> = ə̃ɻ
 * <tt>e'r</tt> = ɰʌɻ
 * <tt>yar, iar, yanr, ianr</tt> = jɑɻ
 * <tt>yangr, iangr</tt> = jɑ̃ɻ
 * <tt>yaor, iaor</tt> = jɑʊ̯ɻ
 * <tt>yinr, inr, yir</tt> = jəɻ
 * <tt>yer, ier</tt> = jɛɻ
 * <tt>yingr, ingr</tt> = jə̃ɻ


 * <tt>your, iur</tt> = jɤʊ̯ɻ
 * <tt>yongr, iongr</tt> = jʊ̃ɻ
 * <tt>our</tt> = ɤʊ̯ɻ
 * <tt>yuanr, üanr, vanr</tt> = ɥɑɻ
 * <tt>yur, ür, vr, yunr, ünr, vnr</tt> = ɥəɻ
 * <tt>yuer, üer, ver</tt> = ɥœɻ
 * <tt>ongr, wengr, uengr</tt> = ʊ̃ɻ
 * <tt>war, uar, wair, uair, wanr, uanr</tt> = wɑɻ
 * <tt>wangr, uangr</tt> = wɑ̃ɻ
 * <tt>weir, uir, wenr, unr</tt> = wəɻ
 * <tt>wur</tt> = uɻ
 * <tt>wor, uor</tt> = wɔɻ
 * <tt>M</tt> = m̩
 * <tt>N</tt> = n̩
 * <tt>NG</tt> = ŋ̩

The tones are indicated by their traditional tone number, entered as the parameter after the final:
 * <tt>1 2 3 4 5</tt>

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)