Ta̱mpi̱let:IPAc-en/sandbox
This is the template sandbox page for Ta̱mpi̱let:IPAc-en (diff). See also the companion subpage for test cases. |
This template is used on many 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-endia}} or {{IPA-all}} instead.
The initial argument (entry after |) can be used to indicate a pronunciation prescript; link to IPA. The codes are:
Code | Output |
---|---|
lang |
Shong: |
local |
a̱mali |
ipa |
Za̱FBS: |
also |
mbeang |
uk |
MA̱: |
us |
MS: |
uklang |
Shong Bi̱ri̱ti̱n: |
uslang |
Shong A̱merika: |
ukalso |
MA̱ mbeang |
usalso |
MS mbeang |
alsouk |
mbeang MA̱: |
alsous |
mbeang MS: |
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.
|
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
[jhyuk a̱tyin ka]{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/ (fa̱k){{IPAc-en|US|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ US: /ˌæləˈbæmə/ (fa̱k){{IPAc-en|US|audio=en-us-Alabama.ogg|attribution=no|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ US: /ˌæləˈbæmə/
Examples using 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ə/ (fa̱k)
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
[jhyuk a̱tyin ka]TemplateData for IPAc-en
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Audio file | audio | The audio file without the "File:" prefix
| Unknown | optional |
Attribution link | attribution | Set attribution to "no" to only display a speaker icon that links directly to the audio file (with no link to the File page).
| Unknown | optional |
First input | 1 | no description | String | required |
Second input | 2 | no description | String | optional |
Third input | 3 | no description | String | optional |
Fourth input | 4 | no description | String | optional |
Fifth input | 5 | no description | String | optional |
Sixth input | 6 | no description | String | optional |
Seventh input | 7 | no description | String | optional |
Eighth input | 8 | no description | String | optional |
Ninth input | 9 | no description | String | optional |
Tenth input | 10 | no description | String | optional |
Eleventh input | 11 | no description | String | optional |
Twelfth input | 12 | no description | String | optional |
Thirteenth input | 13 | no description | String | optional |
Fourteenth input | 14 | no description | String | optional |
Fifteenth input | 15 | no description | String | optional |
Sixteenth input | 16 | no description | String | optional |
Seventeenth input | 17 | no description | String | optional |
Eighteenth input | 18 | no description | String | optional |
Nineteenth input | 19 | no description | String | optional |
Twentieth input | 20 | no description | String | optional |
Twenty-first input | 21 | no description | String | optional |
Twenty-second input | 22 | no description | String | optional |
Twenty-third input | 23 | no description | String | optional |
Twenty-fourth input | 24 | no description | String | optional |
Twenty-fifth input | 25 | no description | String | optional |
Twenty-sixth input | 26 | no description | String | optional |
Twenty-seventh input | 27 | no description | String | optional |
Twenty-eighth input | 28 | no description | String | optional |
Twenty-ninth input | 29 | no description | String | optional |
Thirtieth input | 30 | no description | String | optional |
Thirty-first input | 31 | no description | String | optional |
Thirty-second input | 32 | no description | String | optional |
Thirty-third input | 33 | no description | String | optional |
Thirty-fourth input | 34 | no description | String | optional |
Thirty-fifth input | 35 | no description | String | optional |
Thirty-sixth input | 36 | no description | String | optional |
Thirty-seventh input | 37 | no description | String | optional |
Thirty-eighth input | 38 | no description | String | optional |
Thirty-ninth input | 39 | no description | String | optional |
Fortieth input | 40 | no description | String | optional |
Forty-first input | 41 | no description | String | optional |
Forty-second input | 42 | no description | String | optional |
Forty-third input | 43 | no description | String | optional |
Forty-fourth input | 44 | no description | String | optional |
Forty-fifth input | 45 | no description | String | optional |
Forty-sixth input | 46 | no description | String | optional |
Forty-seventh input | 47 | no description | String | optional |
Forty-eighth input | 48 | no description | String | optional |
Forty-ninth input | 49 | no description | String | optional |
Fiftieth input | 50 | no description | String | optional |
Fifty-first input | 51 | no description | String | optional |
Fifty-second input | 52 | no description | String | optional |
Fifty-third input | 53 | no description | String | optional |
Fifty-fourth input | 54 | no description | String | optional |
Fifty-fifth input | 55 | no description | String | optional |
Fifty-sixth input | 56 | no description | String | optional |
Fifty-seventh input | 57 | no description | String | optional |
Fifty-eighth input | 58 | no description | String | optional |
Fifty-ninth input | 59 | no description | String | optional |
Sixtieth input | 60 | no description | String | optional |
Sixty-first input | 61 | no description | String | optional |
Sixty-second input | 62 | no description | String | optional |
Sixty-third input | 63 | no description | String | optional |
Sixty-fourth input | 64 | no description | String | optional |
Sixty-fifth input | 65 | no description | String | optional |
Sixty-sixth input | 66 | no description | String | optional |
Sixty-seventh input | 67 | no description | String | optional |
Sixty-eighth input | 68 | no description | String | optional |
Sixty-ninth input | 69 | no description | String | optional |
Seventieth input | 70 | no description | String | optional |
Seventy-first input | 71 | no description | String | optional |
Seventy-second input | 72 | no description | String | optional |
Seventy-third input | 73 | no description | String | optional |
Seventy-fourth input | 74 | no description | String | optional |
Seventy-fifth input | 75 | no description | String | optional |
Seventy-sixth input | 76 | no description | String | optional |
Seventy-seventh input | 77 | no description | String | optional |
Seventy-eighth input | 78 | no description | String | optional |
Seventy-ninth input | 79 | no description | String | optional |
Eightieth input | 80 | no description | String | optional |
Eighty-first input | 81 | no description | String | optional |
Eighty-second input | 82 | no description | String | optional |
Eighty-third input | 83 | no description | String | optional |
Eighty-fourth input | 84 | no description | String | optional |
Eighty-fifth input | 85 | no description | String | optional |
Eighty-sixth input | 86 | no description | String | optional |
Eighty-seventh input | 87 | no description | String | optional |
Eighty-eighth input | 88 | no description | String | optional |
Eighty-ninth input | 89 | no description | String | optional |
Ninetieth input | 90 | no description | String | optional |
Ninety-first input | 91 | no description | String | optional |
Ninety-second input | 92 | no description | String | optional |
Ninety-third input | 93 | no description | String | optional |
Ninety-fourth input | 94 | no description | String | optional |
Ninety-fifth input | 95 | no description | String | optional |
Ninety-sixth input | 96 | no description | String | optional |
Ninety-seventh input | 97 | no description | String | optional |
Ninety-eighth input | 98 | no description | String | optional |
Ninety-ninth input | 99 | no description | String | optional |
One hundredth input | 100 | no description | String | optional |
See also
[jhyuk a̱tyin ka]- {{Respell}}, for pronunciation respellings, which may be used for English words in addition to the IPA