Difference between revisions of "Template:IPAc-mi"

From blackwiki
Jump to navigation Jump to search
imported>Gaèlic
(Created page with '<includeonly>{{#switch:{{{1|}}}|{{IPAc-mi/pronunciation/parameters}}=<small>{{IPAc-mi/pronunciation|{{{1}}}}}{{#switch:{{{2|}}}|{{IPAc-mi/pronunciation/parameter...')
 
imported>Gaèlic
Line 1: Line 1:
 
<includeonly>{{#switch:{{{1|}}}|{{IPAc-mi/pronunciation/parameters}}=<small>{{IPAc-mi/pronunciation|{{{1}}}}}{{#switch:{{{2|}}}|{{IPAc-mi/pronunciation/parameters}}=&nbsp;{{IPAc-mi/pronunciation|{{{2}}}}}:|:&nbsp;}}</small>}}{{IPA|[[Help:IPA for Māori|&#91;]]}}<!--
 
<includeonly>{{#switch:{{{1|}}}|{{IPAc-mi/pronunciation/parameters}}=<small>{{IPAc-mi/pronunciation|{{{1}}}}}{{#switch:{{{2|}}}|{{IPAc-mi/pronunciation/parameters}}=&nbsp;{{IPAc-mi/pronunciation|{{{2}}}}}:|:&nbsp;}}</small>}}{{IPA|[[Help:IPA for Māori|&#91;]]}}<!--
-->{{#switch:{{{1}}}|{{IPAc-mi/pronunciation/parameters}}||{{#if:{{{1|}}}|{{c-mi|{{{1}}}}}}}}}<!--
+
-->{{#switch:{{{1}}}|{{IPAc-mi/pronunciation/parameters}}||{{#if:{{{1|}}}|{{H:IPAc-mi|{{{1}}}}}}}}}<!--
-->{{#switch:{{{2}}}|{{IPAc-mi/pronunciation/parameters}}||{{#if:{{{2|}}}|{{c-mi|{{{2}}}}}}}}}<!--
+
-->{{#switch:{{{2}}}|{{IPAc-mi/pronunciation/parameters}}||{{#if:{{{2|}}}|{{H:IPAc-mi|{{{2}}}}}}}}}<!--
-->{{#if:{{{3|}}}|{{c-mi|{{{3}}}}}}}<!--
+
-->{{#if:{{{3|}}}|{{H:IPAc-mi|{{{3}}}}}}}<!--
-->{{#if:{{{4|}}}|{{c-mi|{{{4}}
+
-->{{#if:{{{4|}}}|{{H:IPAc-
 
-->{{IPA|[[Help:IPA for Māori|&#93;]]}}{{#if:{{{audio|}}}|{{IPA audio link|{{{audio}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
 
-->{{IPA|[[Help:IPA for Māori|&#93;]]}}{{#if:{{{audio|}}}|{{IPA audio link|{{{audio}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 00:53, 13 January 2017

Template documentation[view] [edit] [history] [purge]

Usage

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}}[ˈmɔɾi]
  • {{IPAc-mi|pron|'|m|ā|o|r|i}}[]][unsupported input][[Help:IPA for Māori|ˈmɔɾi]
  • {{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}[ˈmɔɾi] (About this soundlisten)
  • {{IPAc-mi|pron|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}[]][unsupported input][[Help:IPA for Māori|ˈmɔɾi] (About this soundlisten)

Use a keyboard underscore _ for a space between words.

There are a maximum of 200 variables.

Behaviour changes from Template:IPA-mi

The default behaviour has changed to no prescript.

  • {{IPA-mi|ˈmaːɔɾi}}Māori pronunciation: [ˈmaːɔɾi]
  • {{IPAc-mi|'|m|ā|o|r|i}}[ˈmɔɾi]

It can be simulated using the flags lang & pron.

Audio files are specifically called:

  • {{IPA-mi|ˈmaːɔɾi|-|Rar-Māori.ogg}}Māori pronunciation: [ˈmaːɔɾi] (About this soundlisten)
  • {{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}} or {{IPAc-mi|'|m|ā|o|r|i|audio=Rar-Māori.ogg}}[ˈmɔɾi] (About this soundlisten), [ˈmɔɾi] (About this soundlisten)