Template:IPAc-mi/doc
This is a documentation subpage for Template:IPAc-mi. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template is used to display the Māori International Phonetic Alphabet (IPA). The pronunciation is broken into individual phones so that they will have mouseovers to indicate pronunciation (the complete list is available at {{H:IPAc-mi}}). All phones from IPA for Māori are available. For anything outside that set, a different template should be used.
If [unsupported input] is displayed, it means that an unsupported input or non-existent sound file was used. Such instances are tallied at Category:Ill-formatted IPAc-mi transclusions, where they can be reviewed and fixed.
The first two variables can be used to indicate a prescript (e.g., Māori pronunciation:). All available flags are shown at {{IPAc-mi/pronunciation}}. The named parameter |audio=
may be used to link to an audio file.
{{IPAc-mi|'|m|ā|o|r|i}}
→ [ˈmaːɔɾi]{{IPAc-mi|pron|'|m|ā|o|r|i}}
→ pronunciation: [ˈmaːɔɾi]{{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}
→ i[ˈmaːɔɾi]{{IPAc-mi|pron|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}
→ pronunciation: i[ˈmaːɔɾi]
Use a keyboard underscore _
for a space between words.
There are a maximum of 200 variables.
Behaviour changes from Template:IPA-mi
[edit]The default behaviour has changed to no prescript.
It can be simulated using the flags lang
& pron
.
{{IPAc-mi|lang|pron|'|m|ā|o|r|i}}
→ Māori pronunciation: [ˈmaːɔɾi]
Audio files are specifically called:
{{IPA-mi|ˈmaːɔɾi|-|Rar-Māori.ogg}}
→ Māori pronunciation: [ˈmaːɔɾi]{{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}
or{{IPAc-mi|'|m|ā|o|r|i|audio=Rar-Māori.ogg}}
→ i[ˈmaːɔɾi], i[ˈmaːɔɾi]