Fyrimynd:IPAc-en/doc
| Uses Lua: |
This template is used to display English International Phonetic Alphabet (IPA). The pronunciation is broken into individual phonemes so that they will have tooltips (mouse-over text) to indicate pronunciation. All phonemes from IPA for English are available. For anything outside that set, a different template should be used.
The initial arguments can be used to indicate a pronunciation prescript (eg, English pronunciation:). The available pronunciation codes are:
| Code | Aliases | Output |
|---|---|---|
lang |
english |
Enskt |
pron |
pronunciation |
úttala: |
local |
lokal | |
ipa |
IPA | |
aus |
AU | |
ca |
CA | |
ie |
IE | |
nz |
NZ | |
uk |
UK | |
us |
US | |
za |
ZA |
The first argument that is not a pronunciation code will be treated as a phoneme. See the collapsed table below for a full list of phoneme codes. As well as phonemes, there are some separator codes as well. For example, you can use a keyboard underscore _ for a space between words. Phonemes are underlined, but separators are not, and separators do not have any tooltip text.
| Phoneme codes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The named parameter |audio= may be used to link to an audio file.
Examples
[rætta wikitekst]{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}→ /ˌæləˈbæmə/{{IPAc-en|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}→ úttala: /ˌæləˈbæmə/{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}→
i/ˌæləˈbæmə/{{IPAc-en|US|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}→ US úttala:
i/ˌæləˈbæmə/
Examples using SAMPA spelling for individual phonemes:
{{IPAc-en|,|&|l|@|'|b|&|m|@}}→ /ˌæləˈbæmə/{{IPAc-en|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}→ Enskt úttala:
i/ˌæləˈbæmə/
If [[unsupported 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.
Behaviour changes from {{IPA-en}}
[rætta wikitekst]The default behaviour has changed to no prescript.
{{IPA-en|ˌæləˈbæmə}}→ Ensk úttala: /ˌæləˈbæmə/{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}→ /ˌæləˈbæmə/
It can be simulated (reinstated) using the flags lang & pron.
{{IPAc-en|lang|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}→ Enskt úttala: /ˌæləˈbæmə/
Audio files are specifically called:
{{IPA-en|ˌæləˈbæmə|-|en-us-Alabama.ogg}}→ Ensk úttala: /ˌæləˈbæmə/ (
lurta){{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} or {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə|audio=en-us-Alabama.ogg}}→
i/ˌæləˈbæmə/,
i/ˌæləˈbæmə/