Jump to content

Template:IPAc-es/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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}}). Most phones from IPA for Spanish are available as of 2021, apart from diphthongs. For diphthongs or anything outside that set, the template {{IPA-es}} 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}}[esˈpaɲa]
  • {{IPAc-es|pron|e|s|'|p|a|ñ|a}}pronunciation: [esˈpaɲa]
  • {{IPAc-es|audio=Es-España.ogg|e|s|'|p|a|ñ|a}}Listeni[esˈpaɲa]
  • {{IPAc-es|pron|audio=Es-España.ogg|e|s|'|p|a|ñ|a}}pronunciation: Listeni[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

[edit]

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}}[esˈpaɲa]

It can be simulated using the flags lang & pron.

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

Audio files are specifically called:

  • {{IPA|es|esˈpaɲa|-|Es-España.ogg}}Spanish pronunciation: [esˈpaɲa]
  • {{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[esˈpaɲa], Listeni[esˈpaɲa]