Difference between revisions of "Template:IPAc-cmn/doc"
imported>Nardog m (→top: dab: IPA → International Phonetic Alphabet using AWB) |
imported>ShakespeareFan00 (Simplify to a list as col-begin/col-end is currently broken with respect to Linter concerns and the new parser...) |
||
| Line 32: | Line 32: | ||
{{Collapse top|List of Pinyin finals accepted for template input}} | {{Collapse top|List of Pinyin finals accepted for template input}} | ||
| − | {{col-begin}} | + | <!--{{col-begin}} |
| − | {{col-4}} | + | {{col-4}}--> |
*<tt>^</tt> = {{IPAc-cmn|^}} | *<tt>^</tt> = {{IPAc-cmn|^}} | ||
*<tt>ai</tt> = {{IPAc-cmn|ai}} | *<tt>ai</tt> = {{IPAc-cmn|ai}} | ||
| Line 51: | Line 51: | ||
*<tt>yang, iang</tt> = {{IPAc-cmn|yang}} | *<tt>yang, iang</tt> = {{IPAc-cmn|yang}} | ||
*<tt>yao, iao</tt> = {{IPAc-cmn|yao}} | *<tt>yao, iao</tt> = {{IPAc-cmn|yao}} | ||
| − | {{col-4}} | + | <!--{{col-4}}--> |
*<tt>ye, ie</tt> = {{IPAc-cmn|ye}} | *<tt>ye, ie</tt> = {{IPAc-cmn|ye}} | ||
*<tt>yan, ian</tt> = {{IPAc-cmn|yan}} | *<tt>yan, ian</tt> = {{IPAc-cmn|yan}} | ||
| Line 69: | Line 69: | ||
*<tt>wei, ui</tt> = {{IPAc-cmn|wei}} | *<tt>wei, ui</tt> = {{IPAc-cmn|wei}} | ||
*<tt>wen, un</tt> = {{IPAc-cmn|wen}} | *<tt>wen, un</tt> = {{IPAc-cmn|wen}} | ||
| − | {{col-4}} | + | <!--{{col-4}}--> |
*<tt>weng</tt> = {{IPAc-cmn|weng}} | *<tt>weng</tt> = {{IPAc-cmn|weng}} | ||
*<tt>wo, uo, o</tt> = {{IPAc-cmn|wo}} | *<tt>wo, uo, o</tt> = {{IPAc-cmn|wo}} | ||
| Line 88: | Line 88: | ||
*<tt>yer, ier</tt> = {{IPAc-cmn|yer}} | *<tt>yer, ier</tt> = {{IPAc-cmn|yer}} | ||
*<tt>yingr, ingr</tt> = {{IPAc-cmn|yingr}} | *<tt>yingr, ingr</tt> = {{IPAc-cmn|yingr}} | ||
| − | {{col-4}} | + | <!--{{col-4}}--> |
*<tt>your, iur</tt> = {{IPAc-cmn|your}} | *<tt>your, iur</tt> = {{IPAc-cmn|your}} | ||
*<tt>yongr, iongr</tt> = {{IPAc-cmn|yongr}} | *<tt>yongr, iongr</tt> = {{IPAc-cmn|yongr}} | ||
| Line 105: | Line 105: | ||
*<tt>N</tt> = {{IPAc-cmn|N}} | *<tt>N</tt> = {{IPAc-cmn|N}} | ||
*<tt>NG</tt> = {{IPAc-cmn|NG}} | *<tt>NG</tt> = {{IPAc-cmn|NG}} | ||
| − | {{col-end}} | + | <!--{{col-end}}--> |
{{Collapse bottom}} | {{Collapse bottom}} | ||
Revision as of 10:21, 4 August 2018
| This is a documentation subpage for Template:IPAc-cmn. It contains usage information, categories and other content that is not part of the original template page. |
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:
- {{IPAc-cmn|zh|ong|1|h|ua|2}} produces [[Help:IPA/Mandarin|[ʈʂʊTemplate:Tone-cmnŋxwaTemplate:Tone-cmn]]]
- {{IPAc-cmn|r|en|2|m|in|2|-|g|ong|4|h|e|2|g|uo|2}} produces [[Help:IPA/Mandarin|[ɻəTemplate:Tone-cmnnmiTemplate:Tone-cmnn kʊTemplate:Tone-cmnŋxɤTemplate:Tone-cmnkwoTemplate:Tone-cmn]]]
With an audio file:
- {{IPAc-cmn|AUD|Zh-hànyǔ.ogg|h|an|4|yu|3}} produces [[Help:IPA/Mandarin|[xaTemplate:Tone-cmnnyTemplate:Tone-cmn]]] (
listen)
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):
- {{IPAc-cmn|[-|zh|ong|1|h|ua|2|-|r|en|2|m|in|2|-|g|ong|4|h|e|2|g|uo|2}} produces [[Help:IPA/Mandarin|[ʈʂʊTemplate:Tone-cmnŋxwaTemplate:Tone-cmn ɻəTemplate:Tone-cmnnmiTemplate:Tone-cmnn kʊTemplate:Tone-cmnŋxɤTemplate:Tone-cmnkwoTemplate:Tone-cmn]]
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 (or ua), etc.
But note that the finals with ⟨ü⟩, despite usually being written ⟨u⟩ in Pinyin, must either be substituted with yu ü v, or written together with the initial j, q, or x. Similarly, the null final of shi, ri, etc. must either be substituted with ^ (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.
List of Pinyin finals accepted for template input
|
|---|
|
The tones are indicated by their traditional tone number, entered as the parameter after the final. The accent is the accent as used in Pinyin.
- 1: ā
- 2: á
- 3: ǎ
- 4: à
- 5: a
The following parameters have special meanings:
- - (hyphen) for a space between words
- . (period) for a syllable break
- ' (apostrophe) for a primary stress mark (placed before the stressed syllable)
- , (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)
See also
- Information on other IPA templates
- Help:IPA for Mandarin
- Standard Chinese phonology
- {{IPAc-yue}} – IPA template for Cantonese