Template:IPAc-en/doc

From MOASSpedia
< Template:IPAc-en
Revision as of 20:00, 6 March 2022 by Wikipedia>3PPYB6 (Reverted edits by 78.180.55.20 (talk) to last version by Nardog)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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-endia}} or {{IPA-all}} instead.

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 ,_ to separate the variants which will appear as a comma. 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 &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. By default, two links are created: one to the audio file itself and one to the File page. If the audio file is licensed as CC0 or public domain, you can use |attribution=no to make it only link to the audio file.

Examples

Examples using SAMPA spelling for individual diaphonemes:

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for IPAc-en

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Audio fileaudio

The audio file without the "File:" prefix

Example
En-us-Foobar.ogg
Unknownoptional
Attribution linkattribution

Set attribution to "no" to only display a speaker icon that links directly to the audio file (with no link to the File page).

Example
no
Unknownoptional

See also