Template:IPAc-en/doc

From Talking Heads Wiki
Jump to navigation Jump to search

Note: Per WP:LEAD, do not use this template in the lead section for common English words (e.g., pub, rose, pencil, bus, Monday, Earth, etc.).

This template is used to display English International Phonetic Alphabet (IPA). The pronunciation is broken into individual diaphonemes so that they will have tooltips (mouse-over text) to indicate pronunciation. All diaphonemes from Help:IPA/English are available.

The transcription system of Help:IPA/English, upon which this template relies, is diaphonemic, i.e. meant to cover multiple major varieties of English at once. If you wish to give a narrow transcription of a pronunciation in a certain variety of English, use {{IPA|en|...|generic=yes}}.

The initial argument (entry after |) can be used to indicate a pronunciation prescript; link to IPA. The codes are:

Pronunciation & IPA link codes
Code Output
lang English:
local locally
ipa IPA:
also also
uk UK:
us US:
uklang British English:
uslang American English:
ukalso UK also
usalso US also
alsouk also UK:
alsous also US:

The first argument that is not a code above will be treated as a diaphoneme. All diaphonemes listed at Help:IPA/English are available (except the ones that span two syllables such as /iə/, which need to be input as i|ə). Also available are /ɪəˈr/, /ɛəˈr/, /ʊəˈr/, /ɪəˌr/, /ɛəˌr/, and /ʊəˌr/, preserved for when a centering diphthong precedes a stress.

Separator codes
Use an underscore _ to separate words. When multiple pronunciations for the same word(s) are possible, use a comma and an underscore ,_, which will appear as a comma, to separate the variants. As necessary, use a hyphen - to indicate omitted syllables. Diaphonemes are underlined, but separators are not, and separators do not have any tooltip text.

See the table below for a full list of diaphoneme codes.

Diaphoneme codes

Note that the aliases include ones that are kept merely for compatibility reasons and therefore not recommended for further use, as they might not accurately represent the sound represented by the output.

Code Aliases Display text Tooltip Type
b b 'b' in 'buy' diaphoneme
d d 'd' in 'dye' diaphoneme
dj dy, dj /dj/: 'd' in 'dew' diaphoneme
dZ, ʤ /dʒ/: 'j' in 'jam' diaphoneme
ð D ð /ð/: 'th' in 'this' diaphoneme
f f 'f' in 'find' diaphoneme
ɡ g ɡ /ɡ/: 'g' in 'guy' diaphoneme
h h 'h' in 'hi' diaphoneme
hw ʍ hw /hw/: 'wh' in 'why' diaphoneme
j y j /j/: 'y' in 'yes' diaphoneme
k k 'k' in 'kind' diaphoneme
l l 'l' in 'lie' diaphoneme
lj ly, lj /lj/: 'l' in 'lute' diaphoneme
m m 'm' in 'my' diaphoneme
n n 'n' in 'nigh' diaphoneme
nj ny, nj /nj/: 'n' in 'new' diaphoneme
ŋ N, ng ŋ /ŋ/: 'ng' in 'sing' diaphoneme
p p 'p' in 'pie' diaphoneme
r ɹ, ɻ r 'r' in 'rye' diaphoneme
s s 's' in 'sigh' diaphoneme
sj sy, sj /sj/: 's' in 'consume' diaphoneme
ʃ S, sh ʃ /ʃ/: 'sh' in 'shy' diaphoneme
t t 't' in 'tie' diaphoneme
tj ty, tj /tj/: 't' in 'tune' diaphoneme
tS, ʧ, ch /tʃ/: 'ch' in 'China' diaphoneme
θ T θ /θ/: 'th' in 'thigh' diaphoneme
θj θy, θʲ θj /θj/: 'th' in 'enthuse' diaphoneme
v v 'v' in 'vie' diaphoneme
w w 'w' in 'wind' diaphoneme
z z 'z' in 'zoom' diaphoneme
zj zy, zj /zj/: 'Z' in 'Zeus' diaphoneme
ʒ Z, zh ʒ /ʒ/: 's' in 'pleasure' diaphoneme
ɑː A:, ɑ:, , a: ɑː /ɑː/: 'a' in 'father' diaphoneme
ɑːr ɑɹ, aːr, a:r, ɑ:r, ɑr ɑːr /ɑːr/: 'ar' in 'far' diaphoneme
ɒ Q ɒ /ɒ/: 'o' in 'body' diaphoneme
ɒr Qr ɒr /ɒr/: 'or' in 'moral' diaphoneme
æ ae, { æ /æ/: 'a' in 'bad' diaphoneme
ær aer, &r, æɹ ær /ær/: 'arr' in 'marry' diaphoneme
ai, aI /aɪ/: 'i' in 'tide' diaphoneme
aɪər aɪr, aIr, aɪə aɪər /aɪər/: 'ire' in 'fire' diaphoneme
au, aU /aʊ/: 'ou' in 'mouth' diaphoneme
aʊər aʊr, aUr, aʊə, aur aʊər /aʊər/: 'our' in 'hour' diaphoneme
ɛ E ɛ /ɛ/: 'e' in 'dress' diaphoneme
ɛr Er ɛr /ɛr/: 'err' in 'merry' diaphoneme
ei, eI, , e: /eɪ/: 'a' in 'face' diaphoneme
ɛər eir, eIr, e@r, E@r, ɛɪɹ, eɪr, eːr, e:r, ɛəɹ, ɛə, ɛːr, ɛ:r, ɛː, ɛ:, E:, E:r ɛər /ɛər/: 'are' in 'bare' diaphoneme
ɛəˈr ɛə'r, eəˈr, eə'r, e@'r, E@'r, ɛːˈr, E:'r ɛəˈr /ɛəˈr/: 'ere' in 'thereof' diaphoneme
ɛəˌr ɛə,r, eəˌr, eə,r, E@,r, E@%r, e@,r, e@%r, ɛːˌr, E:,r, E:%r ɛəˌr /ɛəˌr/: 'ere' in 'thereof' diaphoneme
ɪ I, ɪ /ɪ/: 'i' in 'kit' diaphoneme
ɪr ɪr /ɪr/: 'irr' in 'mirror' diaphoneme
i: /iː/: 'ee' in 'fleece' diaphoneme
ɪər i:r, iːr, I@r, i@r, ɪəɹ, iːɹ, ɪə ɪər /ɪər/: 'ear' in 'near' diaphoneme
ɪəˈr ɪə'r, I@'r ɪəˈr /ɪəˈr/: 'er' in 'spheroidal' diaphoneme
ɪəˌr ɪə,r, I@,r, I@%r ɪəˌr /ɪəˌr/: 'er' in 'spheroidal' diaphoneme
o:, , ou, oU, @u, @U, əʊ, əu, oʊ- /oʊ/: 'o' in 'code' diaphoneme
ɔː O, O:, ɔ:, ɒː, Q: ɔː /ɔː/: 'au' in 'fraud' diaphoneme
ɔːr Or, ɔɹ, ɔ(r), ɔr, ɔər, oUr, ɔəɹ, ɔʊɹ, oʊɹ, oʊr, oːr, o:r, ɔə, ɔə(r) ɔːr /ɔːr/: 'ar' in 'war' diaphoneme
ɔɪ oj, ɔj, oi, , ɔi, OI, oy ɔɪ /ɔɪ/: 'oi' in 'choice' diaphoneme
ɔɪər ɔɪr, oyr, ɔɪə ɔɪər /ɔɪər/: 'oir' in 'coir' diaphoneme
ʊ U, ᵿ ʊ /ʊ/: 'u' in 'push' diaphoneme
ʊr Ur ʊr /ʊr/: 'our' in 'courier' diaphoneme
u: /uː/: 'oo' in 'goose' diaphoneme
ʊər u:r, uːr, u@r, U@r, ʊəɹ, ʊə ʊər /ʊər/: 'our' in 'tour' diaphoneme
ʊəˈr ʊə'r, U@'r ʊəˈr /ʊəˈr/: 'ur' in 'plurality' diaphoneme
ʊəˌr ʊə,r, U@,r, U@%r ʊəˌr /ʊəˌr/: 'ur' in 'plurality' diaphoneme
ʌ V ʌ /ʌ/: 'u' in 'cut' diaphoneme
ʌr Vr, ʌɹ ʌr /ʌr/: 'urr' in 'hurry' diaphoneme
ɜːr ɝː, ɝ, 3r, 3:r, əːr, @:r, ɜɹ, ɜ(r), ɜr ɜːr /ɜːr/: 'ur' in 'fur' diaphoneme
ə @ ə /ə/: 'a' in 'about' diaphoneme
ər ɚ, @r, əɹ, ə(r) ər /ər/: 'er' in 'letter' diaphoneme
əl @l, ᵊl, əl /əl/: 'le' in 'bottle' diaphoneme
ən @n, ᵊn, ən /ən/: 'on' in 'button' diaphoneme
əm @m, ᵊm, əm /əm/: 'm' in 'rhythm' diaphoneme
i i /i/: 'y' in 'happy' diaphoneme
u u /u/: 'u' in 'influence' diaphoneme
x kh x /x/: 'ch' in 'loch' diaphoneme
ʔ ? ʔ /ʔ/: the catch in 'uh-oh' diaphoneme
ɒ̃ ɑ̃, ɒ~, ɑ~, Q~ ɒ̃ /ɒ̃/: nasal 'an' in 'vin blanc' diaphoneme
æ̃ ae~, {~, ã, a~ æ̃ /æ̃/: nasal 'in' in 'vin blanc' diaphoneme
ɜː 3, 3:, ɜ:, ɜ, əː, @: ɜː /ɜː/: r-less 'ur' in 'nurse' diaphoneme
ˈ ', " ˈ /ˈ/: primary stress follows diaphoneme
ˌ ,, % ˌ /ˌ/: secondary stress follows diaphoneme
. · . /./: syllable break diaphoneme
# # /#/: morpheme break diaphoneme
! | /: prosodic break (minor) diaphoneme
!! /‖/: prosodic break (major) diaphoneme
_ separator
nbsp   separator
,_ , separator
- - separator
( ( separator
) ) separator
...  ... separator
juː juː /juː/: 'u' in 'cute' diaphoneme
jʊər jʊər /jʊər/: 'ure' in 'cure' diaphoneme

The named parameter |audio= may be used to link to an audio file.

Examples

  • {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}/ˌæləˈbæmə/
  • {{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}/ˌæləˈbæmə/ <phonos file="en-us-Alabama.ogg"></phonos>
  • {{IPAc-en|US|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}US: /ˌæləˈbæmə/ <phonos file="en-us-Alabama.ogg"></phonos>

Examples using X-SAMPA spelling for individual diaphonemes:

  • {{IPAc-en|,|{|l|@|'|b|{|m|@}}/ˌæləˈbæmə/
  • {{IPAc-en|lang|audio=en-us-Alabama.ogg|,|{|l|@|'|b|{|m|@}}English: /ˌæləˈbæmə/ <phonos file="en-us-Alabama.ogg"></phonos>

If "[invalid input]" is displayed, it means that an unsupported input was used. Such instances are tallied at Category:Ill-formatted IPAc-en transclusions, where they can be reviewed and fixed.

Notations with audio links will appear under Category:Pages including recorded pronunciations.

TemplateData

TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:IPAc-en in articles based on its TemplateData.

TemplateData for IPAc-en

<templatedata> { "format": "inline", "params": { "1": { "label": "1st input", "type": "string", "required": true }, "2": { "label": "2nd input", "type": "string", "required": false }, "3": { "label": "3rd input", "type": "string", "required": false }, "4": { "label": "4th input", "type": "string", "required": false }, "5": { "label": "5th input", "type": "string", "required": false }, "6": { "label": "6th input", "type": "string", "required": false }, "7": { "label": "7th input", "type": "string", "required": false }, "8": { "label": "8th input", "type": "string", "required": false }, "9": { "label": "9th input", "type": "string", "required": false }, "10": { "label": "10th input", "type": "string", "required": false }, "11": { "label": "11th input", "type": "string", "required": false }, "12": { "label": "12th input", "type": "string", "required": false }, "13": { "label": "13th input", "type": "string", "required": false }, "14": { "label": "14th input", "type": "string", "required": false }, "15": { "label": "15th input", "type": "string", "required": false }, "16": { "label": "16th input", "type": "string", "required": false }, "17": { "label": "17th input", "type": "string", "required": false }, "18": { "label": "18th input", "type": "string", "required": false }, "19": { "label": "19th input", "type": "string", "required": false }, "20": { "label": "20th input", "type": "string", "required": false }, "21": { "label": "21st input", "type": "string", "required": false }, "22": { "label": "22nd input", "type": "string", "required": false }, "23": { "label": "23rd input", "type": "string", "required": false }, "24": { "label": "24th input", "type": "string", "required": false }, "25": { "label": "25th input", "type": "string", "required": false }, "26": { "label": "26th input", "type": "string", "required": false }, "27": { "label": "27th input", "type": "string", "required": false }, "28": { "label": "28th input", "type": "string", "required": false }, "29": { "label": "29th input", "type": "string", "required": false }, "30": { "label": "30th input", "type": "string", "required": false }, "31": { "label": "31st input", "type": "string", "required": false }, "32": { "label": "32nd input", "type": "string", "required": false }, "33": { "label": "33rd input", "type": "string", "required": false }, "34": { "label": "34th input", "type": "string", "required": false }, "35": { "label": "35th input", "type": "string", "required": false }, "36": { "label": "36th input", "type": "string", "required": false }, "37": { "label": "37th input", "type": "string", "required": false }, "38": { "label": "38th input", "type": "string", "required": false }, "39": { "label": "39th input", "type": "string", "required": false }, "40": { "label": "40th input", "type": "string", "required": false }, "41": { "label": "41st input", "type": "string", "required": false }, "42": { "label": "42nd input", "type": "string", "required": false }, "43": { "label": "43rd input", "type": "string", "required": false }, "44": { "label": "44th input", "type": "string", "required": false }, "45": { "label": "45th input", "type": "string", "required": false }, "46": { "label": "46th input", "type": "string", "required": false }, "47": { "label": "47th input", "type": "string", "required": false }, "48": { "label": "48th input", "type": "string", "required": false }, "49": { "label": "49th input", "type": "string", "required": false }, "50": { "label": "50th input", "type": "string", "required": false }, "51": { "label": "51st input", "type": "string", "required": false }, "52": { "label": "52nd input", "type": "string", "required": false }, "53": { "label": "53rd input", "type": "string", "required": false }, "54": { "label": "54th input", "type": "string", "required": false }, "55": { "label": "55th input", "type": "string", "required": false }, "56": { "label": "56th input", "type": "string", "required": false }, "57": { "label": "57th input", "type": "string", "required": false }, "58": { "label": "58th input", "type": "string", "required": false }, "59": { "label": "59th input", "type": "string", "required": false }, "60": { "label": "60th input", "type": "string", "required": false }, "61": { "label": "61st input", "type": "string", "required": false }, "62": { "label": "62nd input", "type": "string", "required": false }, "63": { "label": "63rd input", "type": "string", "required": false }, "64": { "label": "64th input", "type": "string", "required": false }, "65": { "label": "65th input", "type": "string", "required": false }, "66": { "label": "66th input", "type": "string", "required": false }, "67": { "label": "67th input", "type": "string", "required": false }, "68": { "label": "68th input", "type": "string", "required": false }, "69": { "label": "69th input", "type": "string", "required": false }, "70": { "label": "70th input", "type": "string", "required": false }, "71": { "label": "71st input", "type": "string", "required": false }, "72": { "label": "72nd input", "type": "string", "required": false }, "73": { "label": "73rd input", "type": "string", "required": false }, "74": { "label": "74th input", "type": "string", "required": false }, "75": { "label": "75th input", "type": "string", "required": false }, "76": { "label": "76th input", "type": "string", "required": false }, "77": { "label": "77th input", "type": "string", "required": false }, "78": { "label": "78th input", "type": "string", "required": false }, "79": { "label": "79th input", "type": "string", "required": false }, "80": { "label": "80th input", "type": "string", "required": false }, "81": { "label": "81st input", "type": "string", "required": false }, "82": { "label": "82nd input", "type": "string", "required": false }, "83": { "label": "83rd input", "type": "string", "required": false }, "84": { "label": "84th input", "type": "string", "required": false }, "85": { "label": "85th input", "type": "string", "required": false }, "86": { "label": "86th input", "type": "string", "required": false }, "87": { "label": "87th input", "type": "string", "required": false }, "88": { "label": "88th input", "type": "string", "required": false }, "89": { "label": "89th input", "type": "string", "required": false }, "90": { "label": "90th input", "type": "string", "required": false }, "91": { "label": "91st input", "type": "string", "required": false }, "92": { "label": "92nd input", "type": "string", "required": false }, "93": { "label": "93rd input", "type": "string", "required": false }, "94": { "label": "94th input", "type": "string", "required": false }, "95": { "label": "95th input", "type": "string", "required": false }, "96": { "label": "96th input", "type": "string", "required": false }, "97": { "label": "97th input", "type": "string", "required": false }, "98": { "label": "98th input", "type": "string", "required": false }, "99": { "label": "99th input", "type": "string", "required": false }, "100": { "label": "100th input", "type": "string", "required": false }, "audio": { "label": "Audio file", "description": "The audio file without the \"File:\" prefix", "example": "En-us-Foobar.ogg", "type": "wiki-file-name" } } } </templatedata>

See also