• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Pronunciation

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

Usage

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 (audio speaker iconDutch pronunciation) is ...
Guy Verhofstadt (audio speaker iconDutch pronunciation) is ...

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

{{pronunciation|En-us-eye.ogg}} → audio speaker iconpronunciation (help·info)

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

{{pronunciation|En-us-eye.ogg|listen}} → audio speaker iconlisten (help·info)

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ɪ] (audio speaker iconlisten)
{{IPA|[aɪ]}} {{pronunciation|En-us-eye.ogg|(listen)|help=no}} → [aɪ] audio speaker icon(listen)
{{IPA|[aɪ]}} ({{pronunciation|En-us-eye.ogg|listen|help=no}}) → [aɪ] (audio speaker iconlisten)

See also

  • {{Pronunciation needed}}
  • {{IPA}}
  • {{Respell}} (for pronunciation respelling)
  • view
  • talk
  • edit
  • {{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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Pronunciation

provides inline audio for the pronunciation of a term

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
sound file1

a sound file to link for the term's pronunciation

Example
En-us-further.ogg
Filerequired
label2

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
show help?help

if "no", disables the help link

Example
no
Stringoptional
The above documentation is transcluded from Template:Pronunciation/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Pronunciation&oldid=27423"
Categories:
  • Templates using TemplateData
  • Audio templates
  • Pronunciation templates
Last edited on 21 April 2020, at 10:55

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 21 April 2020, at 10:55.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop