Template:Pronunciation/doc
This is a documentation subpage for Template:Pronunciation. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
lembaThis 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 (help·info)
The second parameter can be used to override the label that links to the audio:
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)
See also
lemba- {{Pronunciation needed}}
- {{IPA}}
- {{Respell}} (for pronunciation respelling)
- {{Listen}} – sets an audio clip off from the main text
- {{Listen image}} – sets an audio clip and an associated image off from the main text
- {{Audio}} – for inline sounds like pronunciations (with a help link)
- {{Audio-IPA}} – a variant of this template to be used with IPA notation
- {{Pronunciation}} – a shortcut for
{{small|{{Audio|soundfile.ogg|pronunciation}}}}
- {{Audio-nohelp}} – without a help link
- {{Spoken Wikipedia}} – for linking spoken Wikipedia article versions
- {{Multi-listen start}}, {{Multi-listen item}}, and {{Multi-listen end}} – used to list multiple audio files in the same box
- {{Audio icon}} – adds only the small icon with no links
- {{Inline audio}} – adds a notice with link to Wikipedia:Media help
TemplateData
lembaThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Pronunciation
provides inline audio for the pronunciation of a term
Parameter | Description | Type | Status | |
---|---|---|---|---|
sound file | 1 | a sound file to link for the term's pronunciation
| File | required |
label | 2 | The text to display for the template inline, linked to play the sound file.
| String | suggested |
surround with parentheses? | 3 | if "(" or ")", encloses the template in parentheses
| String | suggested |
show help? | help | if "no", disables the help link
| String | optional |