Template:IPAc-en/doc

From Our World of Text Wiki
< Template:IPAc-en
Revision as of 22:34, 17 November 2024 by Dat Hack3r (talk | contribs) (Created template documentation.)
(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|enTemplate:Pipe...Template:Pipegeneric=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 &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. 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
1st input1

no description

Stringrequired
2nd input2

no description

Stringoptional
3rd input3

no description

Stringoptional
4th input4

no description

Stringoptional
5th input5

no description

Stringoptional
6th input6

no description

Stringoptional
7th input7

no description

Stringoptional
8th input8

no description

Stringoptional
9th input9

no description

Stringoptional
10th input10

no description

Stringoptional
11th input11

no description

Stringoptional
12th input12

no description

Stringoptional
13th input13

no description

Stringoptional
14th input14

no description

Stringoptional
15th input15

no description

Stringoptional
16th input16

no description

Stringoptional
17th input17

no description

Stringoptional
18th input18

no description

Stringoptional
19th input19

no description

Stringoptional
20th input20

no description

Stringoptional
21st input21

no description

Stringoptional
22nd input22

no description

Stringoptional
23rd input23

no description

Stringoptional
24th input24

no description

Stringoptional
25th input25

no description

Stringoptional
26th input26

no description

Stringoptional
27th input27

no description

Stringoptional
28th input28

no description

Stringoptional
29th input29

no description

Stringoptional
30th input30

no description

Stringoptional
31st input31

no description

Stringoptional
32nd input32

no description

Stringoptional
33rd input33

no description

Stringoptional
34th input34

no description

Stringoptional
35th input35

no description

Stringoptional
36th input36

no description

Stringoptional
37th input37

no description

Stringoptional
38th input38

no description

Stringoptional
39th input39

no description

Stringoptional
40th input40

no description

Stringoptional
41st input41

no description

Stringoptional
42nd input42

no description

Stringoptional
43rd input43

no description

Stringoptional
44th input44

no description

Stringoptional
45th input45

no description

Stringoptional
46th input46

no description

Stringoptional
47th input47

no description

Stringoptional
48th input48

no description

Stringoptional
49th input49

no description

Stringoptional
50th input50

no description

Stringoptional
51st input51

no description

Stringoptional
52nd input52

no description

Stringoptional
53rd input53

no description

Stringoptional
54th input54

no description

Stringoptional
55th input55

no description

Stringoptional
56th input56

no description

Stringoptional
57th input57

no description

Stringoptional
58th input58

no description

Stringoptional
59th input59

no description

Stringoptional
60th input60

no description

Stringoptional
61st input61

no description

Stringoptional
62nd input62

no description

Stringoptional
63rd input63

no description

Stringoptional
64th input64

no description

Stringoptional
65th input65

no description

Stringoptional
66th input66

no description

Stringoptional
67th input67

no description

Stringoptional
68th input68

no description

Stringoptional
69th input69

no description

Stringoptional
70th input70

no description

Stringoptional
71st input71

no description

Stringoptional
72nd input72

no description

Stringoptional
73rd input73

no description

Stringoptional
74th input74

no description

Stringoptional
75th input75

no description

Stringoptional
76th input76

no description

Stringoptional
77th input77

no description

Stringoptional
78th input78

no description

Stringoptional
79th input79

no description

Stringoptional
80th input80

no description

Stringoptional
81st input81

no description

Stringoptional
82nd input82

no description

Stringoptional
83rd input83

no description

Stringoptional
84th input84

no description

Stringoptional
85th input85

no description

Stringoptional
86th input86

no description

Stringoptional
87th input87

no description

Stringoptional
88th input88

no description

Stringoptional
89th input89

no description

Stringoptional
90th input90

no description

Stringoptional
91st input91

no description

Stringoptional
92nd input92

no description

Stringoptional
93rd input93

no description

Stringoptional
94th input94

no description

Stringoptional
95th input95

no description

Stringoptional
96th input96

no description

Stringoptional
97th input97

no description

Stringoptional
98th input98

no description

Stringoptional
99th input99

no description

Stringoptional
100th input100

no description

Stringoptional
Audio fileaudio

The audio file without the "File:" prefix

Example
En-us-Foobar.ogg
Fileoptional

See also

Template:IPA templates