Template:audio-pron

Definition from Wiktionary, the free dictionary
Jump to: navigation, search


Purpose[edit]

This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like.

Usage[edit]

{{audio-pron|name of sound file|enpr=enPR notation|ipa=IPA notation|xsampa=X-SAMPA notation|lang=2-character language code}}


Example:

{{audio-pron|en-us-dictionary.ogg|enpr=dĭk'shə-nĕr-ē|ipa=/ˈdɪkʃənɛɹi/|lang=en}}

gives this:

enPR: dĭk'shə-nĕr-ē, IPA: /ˈdɪkʃənɛɹi/

Optional Parameters[edit]

lang (strongly recommended)
Creates a link to the correct IPA guide and adds hidden language categories to the defined word.
country
ISO 3166 two-character country code. Creates an icon indicating the nationality of the speaker. Adding country=us to the example above gives:
enPR: dĭk'shə-nĕr-ē, IPA: /ˈdɪkʃənɛɹi/, X-SAMPA: /"dIkS@nEri/
dial
Mostly unused at the moment. Adds a hidden category indicating the dialect present in the audio pronunciation.

See also[edit]