Template:audio-pron
- The following documentation is located at Template:audio-pron/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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:
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
- Template:audio, a variant without IPA notation.
- Template:audio-IPA, a variant with IPA notation.