Template:IPA-t: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{nowrap|{{IPA-t/pronunciation|{{{1}}}}}{{IPA-t/pronunciation|{{{2}}}}}{{IPA-t/pronunciation|{{{3}}}}}{{#if:{{{audio|}}}|<span class="noexcerpt">[[file:speakerlink-new.svg|11px|link={{filepath:{{{audio|}}}}}|Listen]]<sup><span style="color: #00e; font: bold 80% sans-serif; padding: 0 .1em;" class="IPA">[[:File:{{{audio|}}}|i]]</span></sup></span>}}{{IPA|[[Help:IPA for Talossan|/]]}}<!-- | {{nowrap|{{IPA-t/pronunciation|{{{1}}}}}{{IPA-t/pronunciation|{{{2}}}}}{{IPA-t/pronunciation|{{{3}}}}}{{#if:{{{audio|}}}|<span class="noexcerpt">[[file:speakerlink-new.svg|11px|link={{filepath:{{{audio|}}}}}|Listen]]<sup><span style="color: #00e; font: bold 80% sans-serif; padding: 0 .1em;" class="IPA">[[:File:{{{audio|}}}|i]]</span></sup></span>}}{{IPA|[[Help:IPA for Talossan|/]]}}<!-- | ||
-->{{#ifeq:{{ | -->{{#ifeq:{{IPA-t/pronunciation|{{{1}}}}}||{{H:IPA|{{{1}}}}}}}<!-- | ||
-->{{#if:{{{2|}}}|{{#ifeq:{{IPA-t/pronunciation|{{{2}}}}}||{{H:IPA|{{{2}}}}}}}}}<!-- | -->{{#if:{{{2|}}}|{{#ifeq:{{IPA-t/pronunciation|{{{2}}}}}||{{H:IPA|{{{2}}}}}}}}}<!-- | ||
-->{{#if:{{{3|}}}|{{#ifeq:{{IPA-t/pronunciation|{{{3}}}}}||{{H:IPA|{{{3}}}}}}}}}<!-- | -->{{#if:{{{3|}}}|{{#ifeq:{{IPA-t/pronunciation|{{{3}}}}}||{{H:IPA|{{{3}}}}}}}}}<!-- | ||
Line 53: | Line 53: | ||
{{IPA-t/doc}} | {{IPA-t/doc}} | ||
</noinclude> | [[Category:IPA]][[Category:IPA templates]][[Category:Templates]]</noinclude> |
Latest revision as of 11:26, 2 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.
{{IPA-a|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/{{IPA-t|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ pronounced: /ˌæləˈbæmə/{{IPA-t|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ Listeni/ˌæləˈbæmə/{{IPA-t|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ pronounced: Listeni/[unsupported input]ˌæləˈbæmə/
Individual phonemes can be translated from SAMPA spelling:
{{IPA-t|,|&|l|@|'|b|&|m|@}}
→ /ˌæləˈbæmə/{{IPA-t|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}
→ Talossan pronounced: Listeni/ˌæləˈbæmə/
Use a keyboard underscore _ for a space between words.
There are a maximum of 50 variables, including the first three.