Difference between revisions of "Template:IPAc-es"

From blackwiki
Jump to navigation Jump to search
imported>Gaèlic
imported>Gaèlic
Line 1: Line 1:
 
<includeonly>{{#switch:{{{1|}}}|lang|spanish|pron|pronunciation|local|ipa|am={{nowrap|<small>{{IPAc-es/pronunciation|{{{1}}}}}{{#switch:{{{2}}}|lang|spanish|pron|pronunciation|local|ipa|am=&nbsp;{{IPAc-es/pronunciation|{{{2}}}}}{{#switch:{{{3}}}|lang|spanish|pron|pronunciation|local|ipa|am=&nbsp;{{IPAc-es/pronunciation|{{{3}}}}}}}&#58;&nbsp;|&#58;&nbsp;}}</small>}}}}{{#if:{{{audio|}}}|[[File:Speakerlink-new.svg|11px|link=File:{{{audio}}}}}|Listen]]<sup class="IPA">[[:File:{{{audio}}}|i]]</sup>}}<span class="IPA">[[Help:IPA for Spanish|&#91;<!--
 
<includeonly>{{#switch:{{{1|}}}|lang|spanish|pron|pronunciation|local|ipa|am={{nowrap|<small>{{IPAc-es/pronunciation|{{{1}}}}}{{#switch:{{{2}}}|lang|spanish|pron|pronunciation|local|ipa|am=&nbsp;{{IPAc-es/pronunciation|{{{2}}}}}{{#switch:{{{3}}}|lang|spanish|pron|pronunciation|local|ipa|am=&nbsp;{{IPAc-es/pronunciation|{{{3}}}}}}}&#58;&nbsp;|&#58;&nbsp;}}</small>}}}}{{#if:{{{audio|}}}|[[File:Speakerlink-new.svg|11px|link=File:{{{audio}}}}}|Listen]]<sup class="IPA">[[:File:{{{audio}}}|i]]</sup>}}<span class="IPA">[[Help:IPA for Spanish|&#91;<!--
-->{{#switch:{{{1}}}|lang|spanish|pron|pronunciation|local|ipa|am=| {{#if:{{{1|}}}|{{H:IPAc-es|{{{1}}}|{{{2|}}}}}}} }}<!--
+
-->{{#switch:{{{1}}}|lang|spanish|pron|pronunciation|local|ipa|am=| {{#if:{{{1|}}}|{{c-es|{{{1}}}|{{{2|}}}}}}} }}<!--
-->{{#switch:{{{2}}}|lang|spanish|pron|pronunciation|local|ipa|am=| {{#if:{{{2|}}}|{{H:IPAc-es|{{{2}}}|{{{3|}}}}}}} }}<!--
+
-->{{#switch:{{{2}}}|lang|spanish|pron|pronunciation|local|ipa|am=| {{#if:{{{2|}}}|{{c-es|{{{2}}}|{{{3|}}}}}}} }}<!--
-->{{#switch:{{{3}}}|lang|spanish|pron|pronunciation|local|ipa|am={{#if:{{{4|}}}|{{H:IPAc-es|2={{{4|}}}}}}}| {{#if:{{{3|}}}|{{H:IPAc-es|{{{3}}}|{{{4|}}}}}}} }}<!--
+
-->{{#switch:{{{3}}}|lang|spanish|pron|pronunciation|local|ipa|am={{#if:{{{4|}}}|{{c-es|2={{{4|}}}}}}}| {{#if:{{{3|}}}|{{c-es|{{{3}}}|{{{4|}}}}}}} }}<!--
-->{{#if:{{{4|}}}|{{H:IPAc-es|{{{4}}}|{{{5|}}}}}}}<!--
+
-->{{#if:{{{4|}}}|{{c-es|{{{4}}}|{{{5|}}}}}}}<!--
-->{{#if:{{{5|}}}|{{H:IPAc-es|{{{5}}}|{{{6|}}}}}}}<!--
+
-->{{#if:{{{5|}}}|{{c-es|{{{5}}}|{{{6|}}}}}}}<!--
-->{{#if:{{{6|}}}|{{H:IPAc-es|{{{6}}}|{{{7|}}}}}}}<!--
+
-->{{#if:{{{6|}}}|{{c-es|{{{6}}}|{{{7|}}}}}}}<!--
-->{{#if:{{{7|}}}|{{H:IPAc-es|{{{7}}}|{{{8|}}}}}}}<!--
+
-->{{#if:{{{7|}}}|{{c-es|{{{7}}}|{{{8|}}}}}}}<!--
-->{{#if:{{{8|}}}|{{H:IPAc-es|{{{8}}}|{{{9|}}}}}}}<!--
+
-->{{#if:{{{8|}}}|{{c-es|{{{8}}}|{{{9|}}}}}}}<!--
-->{{#if:{{{9|}}}|{{H:IPAc-es|{{{9}}}|{{{10|}}}}}}}<!--
+
-->{{#if:{{{9|}}}|{{c-es|{{{9}}}|{{{10|}}}}}}}<!--
-->{{#if:{{{10|}}}|{{H:IPAc-es|{{{10}}}|{{{11|}}}}}}}<!--
+
-->{{#if:{{{10|}}}|{{c-es|{{{10}}}|{{{11|}}}}}}}<!--
-->{{#if:{{{11|}}}|{{H:IPAc-es|{{{11}}}|{{{12|}}}}}}}<!--
+
-->{{#if:{{{11|}}}|{{c-es|{{{11}}}|{{{12|}}}}}}}<!--
-->{{#if:{{{12|}}}|{{H:IPAc-es|{{{12}}}|{{{13|}}}}}}}<!--
+
-->{{#if:{{{12|}}}|{{c-es|{{{12}}}|{{{13|}}}}}}}<!--
-->{{#if:{{{13|}}}|{{H:IPAc-es|{{{13}}}|{{{14|}}}}}}}<!--
+
-->{{#if:{{{13|}}}|{{c-es|{{{13}}}|{{{14|}}}}}}}<!--
-->{{#if:{{{14|}}}|{{H:IPAc-es|{{{14}}}|{{{15|}}}}}}}<!--
+
-->{{#if:{{{14|}}}|{{c-es|{{{14}}}|{{{15|}}}}}}}<!--
-->{{#if:{{{15|}}}|{{H:IPAc-es|{{{15}}}|{{{16|}}}}}}}<!--
+
-->{{#if:{{{15|}}}|{{c-es|{{{15}}}|{{{16|}}}}}}}<!--
-->{{#if:{{{16|}}}|{{H:IPAc-es|{{{16}}}|{{{17|}}}}}}}<!--
+
-->{{#if:{{{16|}}}|{{c-es|{{{16}}}|{{{17|}}}}}}}<!--
-->{{#if:{{{17|}}}|{{H:IPAc-es|{{{17}}}|{{{18|}}}}}}}<!--
+
-->{{#if:{{{17|}}}|{{c-es|{{{17}}}|{{{18|}}}}}}}<!--
-->{{#if:{{{18|}}}|{{H:IPAc-es|{{{18}}}|{{{19|}}}}}}}<!--
+
-->{{#if:{{{18|}}}|{{c-es|{{{18}}}|{{{19|}}}}}}}<!--
-->{{#if:{{{19|}}}|{{H:IPAc-es|{{{19}}}|{{{20|}}}}}}}<!--
+
-->{{#if:{{{19|}}}|{{c-es|{{{19}}}|{{{20|}}}}}}}<!--
-->{{#if:{{{20|}}}|{{H:IPAc-es|{{{20}}}|{{{21|}}}}}}}<!--
+
-->{{#if:{{{20|}}}|{{c-es|{{{20}}}|{{{21|}}}}}}}<!--
-->{{#if:{{{21|}}}|{{H:IPAc-es|{{{21}}}|{{{22|}}}}}}}<!--
+
-->{{#if:{{{21|}}}|{{c-es|{{{21}}}|{{{22|}}}}}}}<!--
-->{{#if:{{{22|}}}|{{H:IPAc-es|{{{22}}}|{{{23|}}}}}}}<!--
+
-->{{#if:{{{22|}}}|{{c-es|{{{22}}}|{{{23|}}}}}}}<!--
-->{{#if:{{{23|}}}|{{H:IPAc-es|{{{23}}}|{{{24|}}}}}}}<!--
+
-->{{#if:{{{23|}}}|{{c-es|{{{23}}}|{{{24|}}}}}}}<!--
-->{{#if:{{{24|}}}|{{H:IPAc-es|{{{24}}}|{{{25|}}}}}}}<!--
+
-->{{#if:{{{24|}}}|{{c-es|{{{24}}}|{{{25|}}}}}}}<!--
-->{{#if:{{{25|}}}|{{H:IPAc-es|{{{25}}}|{{{26|}}}}}}}<!--
+
-->{{#if:{{{25|}}}|{{c-es|{{{25}}}|{{{26|}}}}}}}<!--
-->{{#if:{{{26|}}}|{{H:IPAc-es|{{{26}}}|{{{27|}}}}}}}<!--
+
-->{{#if:{{{26|}}}|{{c-es|{{{26}}}|{{{27|}}}}}}}<!--
-->{{#if:{{{27|}}}|{{H:IPAc-es|{{{27}}}|{{{28|}}}}}}}<!--
+
-->{{#if:{{{27|}}}|{{c-es|{{{27}}}|{{{28|}}}}}}}<!--
-->{{#if:{{{28|}}}|{{H:IPAc-es|{{{28}}}|{{{29|}}}}}}}<!--
+
-->{{#if:{{{28|}}}|{{c-es|{{{28}}}|{{{29|}}}}}}}<!--
-->{{#if:{{{29|}}}|{{H:IPAc-es|{{{29}}}|{{{30|}}}}}}}<!--
+
-->{{#if:{{{29|}}}|{{c-es|{{{29}}}|{{{30|}}}}}}}<!--
-->{{#if:{{{30|}}}|{{H:IPAc-es|{{{30}}}|{{{31|}}}}}}}<!--
+
-->{{#if:{{{30|}}}|{{c-es|{{{30}}}|{{{31|}}}}}}}<!--
-->{{#if:{{{31|}}}|{{H:IPAc-es|{{{31}}}|{{{32|}}}}}}}<!--
+
-->{{#if:{{{31|}}}|{{c-es|{{{31}}}|{{{32|}}}}}}}<!--
-->{{#if:{{{32|}}}|{{H:IPAc-es|{{{32}}}|{{{33|}}}}}}}<!--
+
-->{{#if:{{{32|}}}|{{c-es|{{{32}}}|{{{33|}}}}}}}<!--
-->{{#if:{{{33|}}}|{{H:IPAc-es|{{{33}}}|{{{34|}}}}}}}<!--
+
-->{{#if:{{{33|}}}|{{c-es|{{{33}}}|{{{34|}}}}}}}<!--
-->{{#if:{{{34|}}}|{{H:IPAc-es|{{{34}}}|{{{35|}}}}}}}<!--
+
-->{{#if:{{{34|}}}|{{c-es|{{{34}}}|{{{35|}}}}}}}<!--
-->{{#if:{{{35|}}}|{{H:IPAc-es|{{{35}}}|{{{36|}}}}}}}<!--
+
-->{{#if:{{{35|}}}|{{c-es|{{{35}}}|{{{36|}}}}}}}<!--
-->{{#if:{{{36|}}}|{{H:IPAc-es|{{{36}}}|{{{37|}}}}}}}<!--
+
-->{{#if:{{{36|}}}|{{c-es|{{{36}}}|{{{37|}}}}}}}<!--
-->{{#if:{{{37|}}}|{{H:IPAc-es|{{{37}}}|{{{38|}}}}}}}<!--
+
-->{{#if:{{{37|}}}|{{c-es|{{{37}}}|{{{38|}}}}}}}<!--
-->{{#if:{{{38|}}}|{{H:IPAc-es|{{{38}}}|{{{39|}}}}}}}<!--
+
-->{{#if:{{{38|}}}|{{c-es|{{{38}}}|{{{39|}}}}}}}<!--
-->{{#if:{{{39|}}}|{{H:IPAc-es|{{{39}}}|{{{40|}}}}}}}<!--
+
-->{{#if:{{{39|}}}|{{c-es|{{{39}}}|{{{40|}}}}}}}<!--
-->{{#if:{{{40|}}}|{{H:IPAc-es|{{{40}}}|{{{41|}}}}}}}<!--
+
-->{{#if:{{{40|}}}|{{c-es|{{{40}}}|{{{41|}}}}}}}<!--
-->{{#if:{{{41|}}}|{{H:IPAc-es|{{{41}}}|{{{42|}}}}}}}<!--
+
-->{{#if:{{{41|}}}|{{c-es|{{{41}}}|{{{42|}}}}}}}<!--
-->{{#if:{{{42|}}}|{{H:IPAc-es|{{{42}}}|{{{43|}}}}}}}<!--
+
-->{{#if:{{{42|}}}|{{c-es|{{{42}}}|{{{43|}}}}}}}<!--
-->{{#if:{{{43|}}}|{{H:IPAc-es|{{{43}}}|{{{44|}}}}}}}<!--
+
-->{{#if:{{{43|}}}|{{c-es|{{{43}}}|{{{44|}}}}}}}<!--
-->{{#if:{{{44|}}}|{{H:IPAc-es|{{{44}}}|{{{45|}}}}}}}<!--
+
-->{{#if:{{{44|}}}|{{c-es|{{{44}}}|{{{45|}}}}}}}<!--
-->{{#if:{{{45|}}}|{{H:IPAc-es|{{{45}}}|{{{46|}}}}}}}<!--
+
-->{{#if:{{{45|}}}|{{c-es|{{{45}}}|{{{46|}}}}}}}<!--
-->{{#if:{{{46|}}}|{{H:IPAc-es|{{{46}}}|{{{47|}}}}}}}<!--
+
-->{{#if:{{{46|}}}|{{c-es|{{{46}}}|{{{47|}}}}}}}<!--
-->{{#if:{{{47|}}}|{{H:IPAc-es|{{{47}}}|{{{48|}}}}}}}<!--
+
-->{{#if:{{{47|}}}|{{c-es|{{{47}}}|{{{48|}}}}}}}<!--
-->{{#if:{{{48|}}}|{{H:IPAc-es|{{{48}}}|{{{49|}}}}}}}<!--
+
-->{{#if:{{{48|}}}|{{c-es|{{{48}}}|{{{49|}}}}}}}<!--
-->{{#if:{{{49|}}}|{{H:IPAc-es|{{{49}}}|{{{50|}}}}}}}<!--
+
-->{{#if:{{{49|}}}|{{c-es|{{{49}}}|{{{50|}}}}}}}<!--
 
-->&#93;]]</span></includeonly><noinclude>{{documentation}}</noinclude>
 
-->&#93;]]</span></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 17:03, 5 February 2017

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

Usage

This template is used to display the Spanish 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-es}}). All phones from IPA for Spanish 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-es transclusions, where they can be reviewed and fixed.

The first two variables can be used to indicate a prescript (e.g., Spanish pronunciation:). All available flags are shown at {{IPAc-es/pronunciation}}. The named parameter |audio= may be used to link to an audio file.

  • {{IPAc-es|e|s|'|p|a|ñ|a}}[[Help:IPA for Spanish|[esˈpaɲa]]]
  • {{IPAc-es|pron|e|s|'|p|a|ñ|a}}pronunciation: [[Help:IPA for Spanish|[esˈpaɲa]]]
  • {{IPAc-es|audio=Es-España.ogg|e|s|'|p|a|ñ|a}}Listeni[[Help:IPA for Spanish|[esˈpaɲa]]]
  • {{IPAc-es|pron|audio=Es-España.ogg|e|s|'|p|a|ñ|a}}pronunciation: Listeni[[Help:IPA for Spanish|[esˈpaɲa]]]

Use a keyboard underscore _ for a space between words.

There are a maximum of 50 variables.

Behaviour changes from Template:IPA-es

The default behaviour has changed to no prescript.

  • {{IPA-es|esˈpaɲa}}Spanish pronunciation: [esˈpaɲa]
  • {{IPAc-es|e|s|'|p|a|ñ|a}}[[Help:IPA for Spanish|[esˈpaɲa]]]

It can be simulated using the flags lang & pron.

  • {{IPAc-es|lang|pron|e|s|'|p|a|ñ|a}}Spanish pronunciation: [[Help:IPA for Spanish|[esˈpaɲa]]]

Audio files are specifically called:

  • {{IPA-es|esˈpaɲa|-|Es-España.ogg}}Spanish pronunciation: [esˈpaɲa] (About this soundlisten)
  • {{IPAc-es|audio=Es-España.ogg|e|s|'|p|a|ñ|a}} or {{IPAc-es|e|s|'|p|a|ñ|a|audio=Es-España.ogg}}Listeni[[Help:IPA for Spanish|[esˈpaɲa]]], Listeni[[Help:IPA for Spanish|[esˈpaɲa]]]