Template:Audio-IPA/documentation

From The Languages of David J. Peterson
Revision as of 22:35, 28 May 2023 by Juelos (talk | contribs) (Replaced Wiktionary: links with Project: links)
(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 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.

See also

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