Misplaced Pages

Template:IPAc-en: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 09:06, 15 April 2010 view sourceDeflective (talk | contribs)Extended confirmed users28,441 editsmNo edit summary← Previous edit Latest revision as of 21:12, 22 June 2017 view source Nardog (talk | contribs)Edit filter helpers, Autopatrolled, Extended confirmed users, New page reviewers, Pending changes reviewers, Rollbackers, Template editors81,109 edits <includeonly> 
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:IPAc-en|main}}</includeonly><noinclude>
{{nowrap|{{#switch:{{lc:{{{1}}}}}
| lang | english = <small>English </small>
| pron | pronunciation = <small>pronunciation: </small>
| local = <small>local </small>
| ipa = <small>IPA </small>
| us = <small>US </small>
| uk = <small>UK </small>}}{{#switch:{{lc:{{{2}}}}}
| lang | english = <small>English </small>
| pron | pronunciation = <small>pronunciation: </small>
| local = <small>local </small>
| ipa = <small>IPA </small>
| us = <small>US </small>
| uk = <small>UK </small>}}{{#switch:{{lc:{{{3}}}}}
| lang | english = <small>English </small>
| pron | pronunciation = <small>pronunciation: </small>
| local = <small>local </small>
| ipa = <small>IPA </small>
| us = <small>US </small>
| uk = <small>UK </small>}}{{#ifexist: Media:{{{1|}}}||{{#ifexist: Media:{{{2|}}}||{{#ifexist: Media:{{{3|}}}||{{#switch:icon|{{lc:{{{1|}}}}}|{{lc:{{{2|}}}}}|{{lc:{{{3|}}}}}={{H:title|dotted=no|pronunciation:|]}} }}}}}}}}{{#ifexist: Media:{{{1|}}}|{{#ifeq:{{{1|}}}|@||]<sup><span style="color: #00e; font: bold 80% sans-serif; padding: 0 .1em;" class="IPA">]</span></sup> }}}}{{#if:{{{2|}}}|{{#ifexist: Media:{{{2|}}}|{{#ifeq:{{{2|}}}|@||]<sup><span style="color: #00e; font: bold 80% sans-serif; padding: 0 .1em;" class="IPA">]</span></sup> }}}}}}{{#if:{{{3|}}}|{{#ifexist: Media:{{{3|}}}|{{#ifeq:{{{3|}}}|@||]<sup><span style="color: #00e; font: bold 80% sans-serif; padding: 0 .1em;" class="IPA">]</span></sup> }}}}}} {{IPA|]}}{{#ifexist: Media:{{{1|}}}
|{{#ifeq:{{{1|}}}|@|{{H:IPA|@}}}}
|{{#switch:{{lc:{{{1|}}}}}
|lang|pron|pronunciation|local|ipa|us|uk|icon|noicon =
|{{H:IPA|{{{1}}}}}}}}}{{#if:{{{2|}}}|{{#ifexist: Media:{{{2|}}}
|{{#ifeq:{{{2|}}}|@|{{H:IPA|@}} }}
|{{#switch:{{lc:{{{2|}}}}}
|lang|pron|pronunciation|local|ipa|us|uk|icon|noicon =
|{{H:IPA|{{{2}}}}}}}}}}}{{#if:{{{3|}}}|{{#ifexist: Media:{{{3|}}}
|{{#ifeq:{{{3|}}}|@|{{H:IPA|@}}}}
|{{#switch:{{lc:{{{3|}}}}}
|lang|pron|pronunciation|local|ipa|us|uk|icon|noicon =
|{{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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IPA|{{{49}}}}}}}{{#if:{{{50|}}}|{{H:IPA|{{{50}}}}}}}{{IPA|]}}}}<noinclude>

{{documentation}} {{documentation}}
</noinclude> </noinclude>

Latest revision as of 21:12, 22 June 2017

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 51,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:

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 &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

Examples using X-SAMPA spelling for individual diaphonemes:

If "" 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

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

IPA templates
Inline
Formatting
Conversion
Maintenance
Charts
Guidance
Meta templates
The above documentation is transcluded from Template:IPAc-en/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: