Revision as of 20:53, 26 November 2009 view sourceDeflective (talk | contribs)Extended confirmed users28,441 editsNo edit summary← Previous edit | Revision as of 00:49, 27 November 2009 view source Kwamikagami (talk | contribs)Autopatrolled, Extended confirmed users, Template editors475,367 edits →UsageNext edit → | ||
Line 5: | Line 5: | ||
Normal usage: | Normal usage: | ||
*<tt><nowiki>{{IPAc-en|f|@|'|n|E|t|I|k|s}}</nowiki></tt> produces {{IPAc-en|f|@|'|n|E|t|I|k|s}} | *<tt><nowiki>{{IPAc-en|f|@|'|n|E|t|I-|k|s}}</nowiki></tt> produces {{IPAc-en|f|@|'|n|E|t|I-|k|s}} | ||
*<tt><nowiki>{{IPAc-en|'|s|E|k|j|U|l|@r|-|,|or|g|@|n|ai|'|z|ei| |
*<tt><nowiki>{{IPAc-en|'|s|E|k|j|U|l|@r|-|,|or|g|@|n|ai|'|z|ei|sh|@n}}</nowiki></tt> produces {{IPAc-en|'|s|E|k|j|U|l|@r|-|,|or|g|@|n|ai|'|z|ei|sh|@|n}} | ||
With an audio file: | With an audio file: | ||
Line 12: | Line 12: | ||
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): | 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): | ||
*<tt><nowiki>{{IPAc-en|/-|,|&|n|t| |
*<tt><nowiki>{{IPAc-en|/-|,|&|n|t|i|d|I|s|I-|,|s|t|&|b|l|I|sh|m|@|n|'|t|eir|I|@|n|I|z|@m}}</nowiki></tt> produces {{IPAc-en|/-|,|&|n|t|i|d|I|s|I-|,|s|t|&|b|l|I|sh|m|@|n|'|t|eir|I|@|n|I|z|@m}} | ||
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: | 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: | ||
*<tt>-- /- -/ AUD -]AUD AUD -/AUD<tt> | *<tt>-- /- -/ AUD -]AUD AUD -/AUD<tt> |
Revision as of 00:49, 27 November 2009
This template is used to produce a phonetic or phonemic representation (using the IPA system) of English words or sounds, using ASCII spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Misplaced Pages:IPA for English. Optionally, an audio file can also be specified.
Usage
The number of parameters is always limited to 33.
Normal usage:
- {{IPAc-en|f|@|'|n|E|t|I-|k|s}} produces /Template:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPA/
- {{IPAc-en|'|s|E|k|j|U|l|@r|-|,|or|g|@|n|ai|'|z|ei|sh|@n}} produces /Template:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPA/
With an audio file:
- {{IPAc-en|AUD|en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}} produces /Template:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPA/ ( 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-en|/-|,|&|n|t|i|d|I|s|I-|,|s|t|&|b|l|I|sh|m|@|n|'|t|eir|I|@|n|I|z|@m}} produces /Template:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPATemplate:H:IPA]
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 parameters represent their normal sounds in English:
- b d f g h k l m n p r s t v w
Other sounds are represented using the following parameters (not all alternatives are given):
- S (or sh) for "sh", Z (or zh) for "zh" as in "vision"
- tS (or ch) for "ch", dZ (or J) for "j" as in "jump"
- T (or th) for "th" as in "think", D (or dh) for "th" as in "they"
- j (or y) for "y" as in "yes"
- N (or ng) for "ng" as in "sing"
- @ for schwa (as in "about" and "China"); @r for schwa+r (as in "better")
- I, E, &, V, o, U for the short vowels of bit, bet, bat, but, pot, put
- i:, a:, o:, u: for the long vowels of beat, calm, law, too
- ar, 3r, or for the r-colored vowels of cart, dirt, sort
- ei, ou, ai, oi, au for the diphthongs of bait, boat, bite, boy, bout
- eir, ir, ur for the r-coloured diphthongs of bare, beer, lure
- I-, U-, o- (or ou-) for instances of those sounds which may alternate with schwa
The following parameters have special meanings:
- - (hyphen) for a space between words
- ' (apostrophe) for a primary stress mark (placed before the stressed syllable)
- , (comma) for a secondary stress mark
Other values used as parameters will be displayed unconverted. (The conversion system is coded in Template:c-en.)
See also
Category: