Jump to content

ᱪᱷᱟᱸᱪ:Pronunciation/doc

ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ, ᱨᱟᱲᱟ ᱜᱮᱭᱟᱱ ᱯᱩᱛᱷᱤ ᱠᱷᱚᱱ

This is equivalent of {{Audio}}, except scaled smaller and with the label predefined to "pronunciation".

These codes are equivalent:

Guy Verhofstadt ({{pronunciation|Nl-be guy verhofstadt.ogg|Dutch pronunciation|help=no}}) is ...
Guy Verhofstadt ({{small|{{Audio|Nl-be guy verhofstadt.ogg|Dutch pronunciation|help=no}}}}) is ...

which produce:

Guy Verhofstadt (Dutch pronunciation) is ...
Guy Verhofstadt (Dutch pronunciation) is ...

If only the first parameter (the file name) is specified:

{{pronunciation|En-us-eye.ogg}}pronunciation

The second parameter can be used to override the label that links to the audio:

{{pronunciation|En-us-eye.ogg|listen}}listen

Set the third parameter to either ( or ) to enclose the template in parentheses. Compare:

{{IPA|[aɪ]}} {{pronunciation|En-us-eye.ogg|listen|(|help=no}}[aɪ] (listen)
{{IPA|[aɪ]}} {{pronunciation|En-us-eye.ogg|(listen)|help=no}}[aɪ] (listen)
{{IPA|[aɪ]}} ({{pronunciation|En-us-eye.ogg|listen|help=no}})[aɪ] (listen)
This is the TemplateData documentation for this template used by VisualEditor and other tools; Italic textsee the monthly error report for this template.

TemplateData for Pronunciation

provides inline audio for the pronunciation of a term

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
ᱥᱟᱰᱮ ᱨᱮᱫ1

a sound file to link for the term's pronunciation

Example
En-us-further.ogg
Filerequired
ᱧᱮᱞᱚᱜ ᱧᱩᱛᱩᱢ2

The text to display for the template inline, linked to play the sound file.

Default
pronunciation
Example
listen
Stringsuggested
surround with parentheses?3

if "(" or ")", encloses the template in parentheses

Example
(
Stringsuggested
ᱜᱚᱲᱚ ᱧᱮᱞ?help

if "no", disables the help link

Example
no
Stringoptional