Template:IPAc-en: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Deflective
changed c-en template calls to H:IPA for mouseovers
meta>Deflective
No edit summary
Line 1: Line 1:
<includeonly><span class="IPA" style="white-space:nowrap">[[Wikipedia:IPA for English|{{#switch:{{{1}}}|[-|[]|[]AUD=[|/-|//|//AUD=/|--|-]|-/|-]AUD|-/AUD=|/}}{{#switch:{{{1|}}}|[-|-]|[]|/-|-/|//|--|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{H:IPA|{{{1}}}}}}}{{#if:{{{2|}}}|{{#switch:{{{1|}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{H:IPA|{{{2|}}}}}}}}}{{#if:{{{3|}}}|{{H:IPA|{{{3}}}}}}}{{#if:{{{4|}}}|{{H:IPA|{{{4}}}}}}}{{#if:{{{5|}}}|{{H:IPA|{{{5}}}}}}}{{#if:{{{6|}}}|{{H:IPA|{{{6}}}}}}}{{#if:{{{7|}}}|{{H:IPA|{{{7}}}}}}}{{#if:{{{8|}}}|{{H:IPA|{{{8}}}}}}}{{#if:{{{9|}}}|{{H:IPA|{{{9}}}}}}}{{#if:{{{10|}}}|{{H:IPA|{{{10}}}}}}}{{#if:{{{11|}}}|{{H:IPA|{{{11}}}}}}}{{#if:{{{12|}}}|{{H:IPA|{{{12}}}}}}}{{#if:{{{13|}}}|{{H:IPA|{{{13}}}}}}}{{#if:{{{14|}}}|{{H:IPA|{{{14}}}}}}}{{#if:{{{15|}}}|{{H:IPA|{{{15}}}}}}}{{#if:{{{16|}}}|{{H:IPA|{{{16}}}}}}}{{#if:{{{17|}}}|{{H:IPA|{{{17}}}}}}}{{#if:{{{18|}}}|{{H:IPA|{{{18}}}}}}}{{#if:{{{19|}}}|{{H:IPA|{{{19}}}}}}}{{#if:{{{20|}}}|{{H:IPA|{{{20}}}}}}}{{#if:{{{21|}}}|{{H:IPA|{{{21}}}}}}}{{#if:{{{22|}}}|{{H:IPA|{{{22}}}}}}}{{#if:{{{23|}}}|{{H:IPA|{{{23}}}}}}}{{#if:{{{24|}}}|{{H:IPA|{{{24}}}}}}}{{#if:{{{25|}}}|{{H:IPA|{{{25}}}}}}}{{#if:{{{26|}}}|{{H:IPA|{{{26}}}}}}}{{#if:{{{27|}}}|{{H:IPA|{{{27}}}}}}}{{#if:{{{28|}}}|{{H:IPA|{{{28}}}}}}}{{#if:{{{29|}}}|{{H:IPA|{{{29}}}}}}}{{#if:{{{30|}}}|{{H:IPA|{{{30}}}}}}}{{#if:{{{31|}}}|{{H:IPA|{{{31}}}}}}}{{#if:{{{32|}}}|{{H:IPA|{{{32}}}}}}}{{#if:{{{33|}}}|{{H:IPA|{{{33}}}}}}}{{#switch:{{{1}}}|-]|[]|-]AUD|[]AUD=]|-/|//|\/AUD|//AUD=/|--|[-|/-=|/}}]]</span>{{#switch:{{{1}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=<small> ([[Image:Ltspkr.png|link=|alt=]] [[:Media:{{{2}}}|listen]])</small>}}</includeonly><noinclude>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 [[Wikipedia:IPA for English]]. Optionally, an audio file can also be specified.  
<includeonly><span class="IPA" style="white-space:nowrap">[[Wikipedia:IPA for English|{{#switch:{{{1}}}|[-|[]|[]AUD=|/-|////AUD=/|--|-]|-/|-]AUD|-/AUD=|/}}]]{{#switch:{{{1|}}}|[-|-]|[]|/-|-/|//|--|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{H:IPA|{{{1}}}}}}}{{#if:{{{2|}}}|{{#switch:{{{1|}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=|{{H:IPA|{{{2|}}}}}}}}}{{#if:{{{3|}}}|{{H:IPA|{{{3}}}}}}}{{#if:{{{4|}}}|{{H:IPA|{{{4}}}}}}}{{#if:{{{5|}}}|{{H:IPA|{{{5}}}}}}}{{#if:{{{6|}}}|{{H:IPA|{{{6}}}}}}}{{#if:{{{7|}}}|{{H:IPA|{{{7}}}}}}}{{#if:{{{8|}}}|{{H:IPA|{{{8}}}}}}}{{#if:{{{9|}}}|{{H:IPA|{{{9}}}}}}}{{#if:{{{10|}}}|{{H:IPA|{{{10}}}}}}}{{#if:{{{11|}}}|{{H:IPA|{{{11}}}}}}}{{#if:{{{12|}}}|{{H:IPA|{{{12}}}}}}}{{#if:{{{13|}}}|{{H:IPA|{{{13}}}}}}}{{#if:{{{14|}}}|{{H:IPA|{{{14}}}}}}}{{#if:{{{15|}}}|{{H:IPA|{{{15}}}}}}}{{#if:{{{16|}}}|{{H:IPA|{{{16}}}}}}}{{#if:{{{17|}}}|{{H:IPA|{{{17}}}}}}}{{#if:{{{18|}}}|{{H:IPA|{{{18}}}}}}}{{#if:{{{19|}}}|{{H:IPA|{{{19}}}}}}}{{#if:{{{20|}}}|{{H:IPA|{{{20}}}}}}}{{#if:{{{21|}}}|{{H:IPA|{{{21}}}}}}}{{#if:{{{22|}}}|{{H:IPA|{{{22}}}}}}}{{#if:{{{23|}}}|{{H:IPA|{{{23}}}}}}}{{#if:{{{24|}}}|{{H:IPA|{{{24}}}}}}}{{#if:{{{25|}}}|{{H:IPA|{{{25}}}}}}}{{#if:{{{26|}}}|{{H:IPA|{{{26}}}}}}}{{#if:{{{27|}}}|{{H:IPA|{{{27}}}}}}}{{#if:{{{28|}}}|{{H:IPA|{{{28}}}}}}}{{#if:{{{29|}}}|{{H:IPA|{{{29}}}}}}}{{#if:{{{30|}}}|{{H:IPA|{{{30}}}}}}}{{#if:{{{31|}}}|{{H:IPA|{{{31}}}}}}}{{#if:{{{32|}}}|{{H:IPA|{{{32}}}}}}}{{#if:{{{33|}}}|{{H:IPA|{{{33}}}}}}}[[Wikipedia:IPA for English|{{#switch:{{{1}}}|-]|[]|-]AUD|[]AUD=]|-/|//|\/AUD|//AUD=/|--|[-|/-=|/}}]]</span>{{#switch:{{{1}}}|-]AUD|[]AUD|-/AUD|//AUD|AUD=<small> ([[Image:Ltspkr.png|link=|alt=]] [[:Media:{{{2}}}|listen]])</small>}}</includeonly><noinclude>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 [[Wikipedia:IPA for English]]. Optionally, an audio file can also be specified.  


===Usage===
===Usage===

Revision as of 20:53, 26 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 Wikipedia:IPA for English. Optionally, an audio file can also be specified.

Usage

The number of parameters is always limited to 33.

Normal usage:

With an audio file:

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

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