Template:audio-pron

From Wiktionary, the free dictionary
Jump to navigation Jump to 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|2-character language code|name of sound file|enpr=enPR notation|ipa=IPA notation}}

Example:

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

gives this:

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

Parameters[edit]

|1= (required)
Language code; see Wiktionary:List of languages. Creates a link to the correct IPA guide and adds hidden language categories to the defined word.
|2= (required)
Audio file.
|ipa= (optional)
IPA pronunciation.
|enpr= (optional)
EnPR pronunciation.
|dial= (optional)
Mostly unused at the moment. Adds a hidden category indicating the dialect present in the audio pronunciation.

See also[edit]