This template links to an audio file of spoken language, typically in the "Pronunciation" section of an entry to indicate how a term is pronounced.
To link to an audio file connected to the meaning of the entry (for example, a recording of a klaxon sound in the klaxon entry), use {{listen}}
.
|1=
(required)|lang=
is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.|2=
(required)|3=
|q=
{{q}}
/{{qualifier}}
template.|a=
{{a}}
/{{accent}}
template. To be recognized as a separator, there must be no space following the comma; otherwise, the comma is treated as an embedded comma within the accent qualifier.|qq=
|q=
instead of this, unless the qualifier is particularly long. This is formatted with the {{q}}
/{{qualifier}}
template.|aa=
|a=
instead of this, unless the qualifier is particularly long. These are formatted with the {{a}}
/{{accent}}
template. To be recognized as a separator, there must be no space following the comma; otherwise, the comma is treated as an embedded comma within the accent qualifier.|ref=
===References===
section at the bottom of the language's entry. See below for the format of this parameter.|text=
|IPA=
{{IPA}}
.|t=
|text=
, if that text is in a foreign language and its meaning isn't obvious.|lit=
|text=
, if needed.|tr=
|text=
, for text in non-Latin scripts where either the automatic transliteration isn't correct or there is no automatic transliteration (e.g. in Persian and Hebrew).|ts=
|text=
, for text in non-Latin scripts where the transliteration is radically different from the actual pronunciation. To be used sparingly and only for certain languages; see the description of this parameter in {{l}}
for more information.|pos=
|text=
. Included mostly for completeness; rarely needed.|nocat=1
|sort=
makeSortKey
method in Module:languages can usually generate the correct sortkey.|bad=
{{audio|en|En-uk-ubiquitous.ogg|a=RP}}
Audio (Received Pronunciation): | (file) |
{{audio|en|en-us-oh-surprise.ogg|a=GA|q=surprise}}
Audio (General American, surprise): | (file) |
{{audio|fr|Fr-hors d oeuvre-fr-Paris.ogg|a=France|text=un hors-d'œuvre}}
Audio (France); “un hors-d'œuvre”: | (file) |
{{audio|fr|LL-Q150 (fra)-WikiLucas00-avoir un nom à coucher dehors.wav|IPA=/a.vwaʁ œ̃ nɔ̃ a ku.ʃe də.ɔʁ/|a=Lyon|lit=to have a noun to hide behind|t=to have a jawbreaker/mouthful|text=avoir un nom à coucher dehors}}
Audio (Lyon); “avoir un nom à coucher dehors” (literally “to have a noun to hide behind”) /a.vwaʁ œ̃ nɔ̃ a ku.ʃe də.ɔʁ/: | (file) |
The |refN=
parameter is used to specify one or more references for a given pronunciation and works similarly to the <ref>
tag. For example, specifying |ref={{R:it:DiPI|bendo}}
is similar to placing <ref>{{R:it:DiPI|bendo}}</ref>
after the call to {{IPA}}
, except that it can be used to insert references directly after a given pronunciation when there are several.
To specify multiple references, separate them with !!!
(optionally with spaces around it). For example, the following:
{{audio|it|It-bendo.ogg|ref={{R:it:DiPI|bendo}} !!! {{R:it:Olivetti}}}}
is similar to the following:
{{audio|it|It-bendo.ogg}}<ref>{{R:it:DiPI|bendo}}</ref><ref>{{R:it:Olivetti}}</ref>
To specify the equivalent of the <ref name="NAME" group="GROUP">...</ref>
, use <<name:NAME>>
and/or <<group:GROUP>>
directly following the reference text. For example, the following:
{{audio|it|It-bendo.ogg|ref={{R:it:DiPI|bendo}}<<name:bendo>> !!! {{R:it:Olivetti}}}}
is similar to the following:
{{audio|it|It-bendo.ogg}}<ref name="bendo">{{R:it:DiPI|bendo}}</ref><ref>{{R:it:Olivetti}}</ref>
Similarly, the following:
{{audio|it|It-bendo.ogg|ref={{R:it:DiPI|bendo}}<<name:bendo>><<group:pron>>}}
is similar to the following:
{{audio|it|It-bendo.ogg}}<ref name="bendo" group="pron">{{R:it:DiPI|bendo}}</ref>
To reference a prior name, as in <ref name="bendo"/>
, leave the reference text blank:
{{audio|it|It-bendo.ogg|ref=<<name:bendo>>}}
Similarly, to reference a prior name in a particular group, as in <ref name="bendo" group="pron"/>
, use:
{{audio|it|It-bendo.ogg|ref=<<name:bendo>><<group:pron>>}}
{{listen}}
– for relevant sound samples (not spoken language)
TemplateData for audio
An audio file to assist readers pronouncing the word. Labeled with language and possibly dialect.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language | 1 | The language (see ]) the recording is in.
| String | required |
Audio file | 2 | The sound file to play.
| File | required |
Caption | 3 | Text displayed before the audio box. Defaults to 'Audio'; rarely needs to be specified.
| String | optional |
Left accent qualifier(s) | a | Specifies one or more comma-separated accent qualifiers to be placed before the audio box. These are formatted with the {{a}}/{{accent}} template. | String | optional |
Left qualifier | q | Specifies a qualifier to be placed before the audio box. This is formatted with the {{q}}/{{qualifier}} template. | String | optional |
Right accent qualifier(s) | aa | Specifies one or more comma-separated accent qualifiers to be placed after the audio box. These are formatted with the {{a}}/{{accent}} template. | String | optional |
Right qualifier | qq | Specifies a qualifier to be placed after the audio box. This is formatted with the {{q}}/{{qualifier}} template. | String | optional |
Reference | ref | Specifies a reference note to be placed directly after the audio box. The reference is placed in the ===References=== section at the bottom of the language's entry. | String | optional |
Text of audio snippet | text | Specifies the text of the audio snippet, used especially when it contains additional words. | String | optional |
IPA of audio snippet | IPA | Specifies the IPA pronunciation of the audio snippet, used especially when it contains additional words. | String | optional |