Template:Audio-IPA/documentation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Purpose === This template links to an audio file for quick li...") |
m (Replaced Wiktionary: links with Project: links) |
||
Line 17: | Line 17: | ||
=== Parameters === | === Parameters === | ||
; {{para|1|req=1}} | ; {{para|1|req=1}} | ||
: Language code; see [[ | : Language code; see [[Project:List of languages]]. Creates a link to the correct IPA guide and adds hidden language categories to the defined word. | ||
; {{para|2|req=1}} | ; {{para|2|req=1}} | ||
: Name of sound file. | : Name of sound file. |
Latest revision as of 22:35, 28 May 2023
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-IPA|language code|name of sound file|IPA notation|dial=dialect}}
Example:
Swedish: åka {{audio-IPA|sv|sv-åka.ogg|[ˈoːka]|dial=Götamål}}, 'travel', 'go'
gives this:
Parameters
|1=
- Language code; see Project:List of languages. Creates a link to the correct IPA guide and adds hidden language categories to the defined word.
|2=
- Name of sound file.
|3=
- IPA notation of term.
|dial=
- Optional parameter that is mostly unused at the moment. Adds a hidden category indicating the dialect present in the audio pronunciation.