Template:Audio-IPA/documentation

From The Languages of David J. Peterson
Revision as of 15:30, 11 October 2021 by Djp (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation for Template:Audio-IPA. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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:

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

Parameters

|1=
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=
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.

See also

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