Template:audio-IPA/documentation

Documentation for Template:audio-IPA. [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-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:

Swedish: åka IPA(key): [ˈoːka]
, 'travel', 'go'

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)
Name of sound file.
|3= (required)
IPA notation of term.
|dial= (optional)
Optional parameter that is mostly unused at the moment. Adds a hidden category indicating the dialect present in the audio pronunciation.

See also edit

  • {{audio}}, a variant without IPA notation.
  • {{IPA}}, a variant without audio.