සැකිල්ල:audio-pron/documentation
Purpose[සංස්කරණය]
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[සංස්කරණය]
{{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[සංස්කරණය]
|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[සංස්කරණය]
- Template:audio, a variant without IPA notation.
- Template:audio-IPA, a variant with IPA notation.