Template:IPA-t/doc: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
(temporary)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
|}
|}


This template is used to display English [[International Phonetic Alphabet]] (IPA). The pronunciation is broken into individual phonemes so that they will have mouseovers to indicate pronunciation (the complete list is available at {{t|H:IPA}}). All phonemes from [[Wikipedia:IPA_for_English#Key|IPA for English]] are available. For anything outside that set, a different template should be used.
This template is used to display Talossan [[wikipedia:International Phonetic Alphabet|International Phonetic Alphabet]] (IPA). The pronunciation is broken into individual phonemes so that they will have mouseovers to indicate pronunciation. All phonemes from [[Wikipedia:IPA_for_Talossan#Key|IPA for Talossan]] are available. For anything outside that set, use <nowiki>{{ipa-all}}</nowiki>.


If <code><nowiki>[[unsupported input]]</nowiki></code> is displayed, it means that an unsupported input or non-existent sound file was used. Such instances are tallied at [[:Category:Ill-formatted IPAc-en transclusions]], where they can be reviewed and fixed.  
If <code><nowiki>[[unsupported input]]</nowiki></code> is displayed, it means that an unsupported input or non-existent sound file was used. Don't do that.


<br>
<br>
The first three variables can be used to indicate a prescript (eg, <small>English pronunciation:</small>). All available flags are shown at {{t|IPAc-en/pronunciation}}. The named parameter {{para|audio}} may be used to link to an audio file.
The first three variables can be used to indicate a prescript (eg, <small>English pronunciation:</small>). The named parameter "audio" be used to link to an audio file.


*<code><nowiki>{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPA-a|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPA-t|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPAc-en|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPA-t|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPA-t|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPA-t|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPA-t|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPAc-en|US|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|US|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPA-t|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPA-t|US|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
   
   
<br>
<br>
Individual phonemes can be translated from [[SAMPA Chart|SAMPA]] spelling:
Individual phonemes can be translated from SAMPA spelling:


*<code><nowiki>{{IPAc-en|,|&|l|@|'|b|&|m|@}}</nowiki></code> → {{IPAc-en|,|&|l|@|'|b|&|m|@}}
*<code><nowiki>{{IPA-t|,|&|l|@|'|b|&|m|@}}</nowiki></code> → {{IPA-t|,|&|l|@|'|b|&|m|@}}
*<code><nowiki>{{IPAc-en|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}</nowiki></code> → {{IPAc-en|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}
*<code><nowiki>{{IPA-t|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}</nowiki></code> → {{IPA-t|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}


<br>
<br>
Use a keyboard underscore _ for a space between words.  
Use a keyboard underscore _ for a space between words.  


There are a maximum of 50 variables, including the first three.  
There are a maximum of 50 variables, including the first three.


==== Behaviour changes from {{t|IPA-en}} ====
<noinclude>[[Category:IPA]][[Category:IPA templates]][[Category:Templates]]</noinclude>
The default behaviour has changed to no prescript.
*<code><nowiki>{{IPA-en|ˌæləˈbæmə}}</nowiki></code> → {{IPA-en|ˌæləˈbæmə}}
*<code><nowiki>{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
It can be simulated using the flags lang & pron.
*<code><nowiki>{{IPAc-en|lang|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|lang|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
 
Audio files are specifically called:
*<code><nowiki>{{IPA-en|ˌæləˈbæmə|-|en-us-Alabama.ogg}}</nowiki></code> → {{IPA-en|ˌæləˈbæmə|-|en-us-Alabama.ogg}}
*<code><nowiki>{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} or {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə|audio=en-us-Alabama.ogg}}</nowiki></code> → {{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}, {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə|audio=en-us-Alabama.ogg}}

Latest revision as of 14:42, 1 March 2014

This template is used to display Talossan International Phonetic Alphabet (IPA). The pronunciation is broken into individual phonemes so that they will have mouseovers to indicate pronunciation. All phonemes from IPA for Talossan are available. For anything outside that set, use {{ipa-all}}.

If [[unsupported input]] is displayed, it means that an unsupported input or non-existent sound file was used. Don't do that.


The first three variables can be used to indicate a prescript (eg, English pronunciation:). The named parameter "audio" be used to link to an audio file.


Individual phonemes can be translated from SAMPA spelling:


Use a keyboard underscore _ for a space between words.

There are a maximum of 50 variables, including the first three.