ढाँचा:IPAc-en/doc
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 for English are available.
The transcription system of Help:IPA for 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 can be used to indicate a pronunciation prescript. The available pronunciation codes are:
Code | Output |
---|---|
lang |
English: |
local |
locally |
ipa |
IPA: |
uk |
UK: |
us |
US: |
uklang |
British English: |
uslang |
American English: |
The first argument that is not a pronunciation code will be treated as a diaphoneme. See the collapsed table below for a full list of diaphoneme codes. As well as diaphonemes, there are some separator codes as well. For example, a keyboard underscore _
can be used for a space between words. Diaphonemes are underlined, but separators are not, and separators do not have any tooltip text.
Phoneme 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.
Examples
सम्पादन{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/ (listen){{IPAc-en|US|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ US: /ˌæləˈbæmə/ (listen)
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ə/ (listen)
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 at Category:Articles including recorded pronunciations (English), Category:Articles including recorded pronunciations (UK English) or Category:Articles including recorded pronunciations (US English) depending on the label parameter.
The default behaviour has changed to no prescript.
{{IPA-en|ˌæləˈbæmə}}
→ English pronunciation: /ˌæləˈbæmə/{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/
It can be partially reinstated using the flag lang
.
{{IPAc-en|lang|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ English: /ˌæləˈbæmə/
Audio files are specifically called:
{{IPA-en|ˌæləˈbæmə|-|en-us-Alabama.ogg}}
→ English pronunciation: /ˌæləˈbæmə/ (listen){{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
or{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə|audio=en-us-Alabama.ogg}}
→ /ˌæləˈbæmə/ (listen)