Template:audio-pron/documentation

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search
Edit-copy green.svg Documentation for Template:audio-pron. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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|xsampa=X-SAMPA 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.
|xsampa= (optional)
X-SAMPA pronunciation.
|dial= (optional)
Mostly unused at the moment. Adds a hidden category indicating the dialect present in the audio pronunciation.

See also[edit]