Template:audio-pron-dev

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

The following documentation is located at Template:audio-pron-dev/documentation. [edit]


Crystal Clear filesystem trashcan full.png This template has been nominated for deletion(+)
Please see that page for discussion and justifications. Feel free to edit this template as normal, though do not remove the {{rfd}} until the debate has finished.

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|audio1=en-us-dictionary.ogg|enpr1=dĭk'shə-nĕr-ē|ipa1=/ˈdɪkʃənɛɹi/|xsampa1=/"dIkS@nEri/|lang=en}}

gives this:


Optional Parameters[edit]

lang (strongly recommended)
Creates a link to the most specific IPA guide available and adds hidden language categories to the defined term.
country
ISO 3166 two-character country code. Creates an icon indicating the nationality of the speaker. Adding country=us to the example above gives:
dial
Mostly unused at the moment. Adds a hidden category indicating the dialect present in the audio pronunciation.

See also[edit]