Template:audio-IPA

From Wiktionary, the free dictionary
Jump to navigation Jump to search

IPA(key): /aɪ piː ˈeɪ/


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.

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
language1

the language code (see Wiktionary:Languages) for the current language section

Example
sv
Stringrequired
filename2

name of sound file

Example
sv-åka.ogg
Stringrequired
IPA3

IPA transcription of term (should be formatted in correct IPA and be surrounded by slashes / / for phonemic representations, and square brackets [ ] for phonetic representations)

Example
[ˈoːka]
Stringrequired
dialdial

dialect present in the audio pronunciation

Stringoptional