Template:Audio-IPA/documentation: Difference between revisions

From The Languages of David J. Peterson
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 [[Wiktionary:List of languages]]. Creates a link to the correct IPA guide and adds hidden language categories to the defined word.
: 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

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.