Drug laws around the world and Template:IPAc-mi/doc: Difference between pages
(Difference between pages)
m
minor fixes
(Created page with "==List== {{legend|#9F9|Legal}} {{legend|#ffb700|Illegal but decriminalized}} {{legend|#ff9e9e|Illegal but often unenforced}} {{legend|#ff3c3c|Illegal}} {{legend|#b8b8b8|Legali...") |
imported>Colonies Chris m (minor fixes) |
||
Line 1: | Line 1: | ||
== | {{Documentation subpage}} | ||
{{ | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
{{ | == Usage == | ||
{{ | This template is used to display the [[Māori language|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 {{tl|H:IPAc-mi}}). All phones from [[Help:IPA for Māori|IPA for Māori]] are available. For anything outside that set, a different template should be used. | ||
{{ | |||
{{ | If <span class="IPA">[[Help:IPA for Māori|{{hover title|Unrecognized symbol|'''[unsupported input]'''|dotted=no}}]]</span> 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., <small>Māori pronunciation:</small>). All available flags are shown at {{tl|IPAc-mi/pronunciation}}. The named parameter {{para|audio}} may be used to link to an audio file. | ||
* <code><nowiki>{{IPAc-mi|'|m|ā|o|r|i}}</nowiki></code> → {{IPAc-mi|'|m|ā|o|r|i}} | |||
< | * <code><nowiki>{{IPAc-mi|pron|'|m|ā|o|r|i}}</nowiki></code> → {{IPAc-mi|pron|'|m|ā|o|r|i}} | ||
* <code><nowiki>{{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}</nowiki></code> → {{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}} | |||
* <code><nowiki>{{IPAc-mi|pron|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}</nowiki></code> → {{IPAc-mi|pron|audio=Rar-Māori.ogg|'|m|ā|o|r|i}} | |||
< | |||
Use a keyboard underscore <code>_</code> 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. | |||
* <code><nowiki>{{IPA-mi|ˈmaːɔɾi}}</nowiki></code> → {{IPA-mi|ˈmaːɔɾi}} | |||
* <code><nowiki>{{IPAc-mi|'|m|ā|o|r|i}}</nowiki></code> → {{IPAc-mi|'|m|ā|o|r|i}} | |||
It can be simulated using the flags <code>lang</code> & <code>pron</code>. | |||
< | * <code><nowiki>{{IPAc-mi|lang|pron|'|m|ā|o|r|i}}</nowiki></code> → {{IPAc-mi|lang|pron|'|m|ā|o|r|i}} | ||
Audio files are specifically called: | |||
* <code><nowiki>{{IPA-mi|ˈmaːɔɾi|-|Rar-Māori.ogg}}</nowiki></code> → {{IPA-mi|ˈmaːɔɾi|-|Rar-Māori.ogg}} | |||
* <code><nowiki>{{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}</nowiki></code> or <code><nowiki>{{IPAc-mi|'|m|ā|o|r|i|audio=Rar-Māori.ogg}}</nowiki></code> → {{IPAc-mi|audio=Rar-Māori.ogg|'|m|ā|o|r|i}}, {{IPAc-mi|'|m|ā|o|r|i|audio=Rar-Māori.ogg}} | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories go here and interwikis go in Wikidata. --> | |||
| | [[Category:IPA language templates|c]] | ||
| | }}</includeonly> | ||
| | |||
|- | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
{{ | |||
[[ | |||