Jump to content

Template:audio

From Wiktionary
(file)
Documentation icon Template documentation[view] [change] [history] [refresh]

This template is used for creating a nice link to pronunciation files.

Usage

{{audio
| 1 = Name of sound file
| 2 = Text to use as link to soundfile
}}

Example

{{audio|en-us-computer.ogg|Audio (US)}}

gives this:

(file)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for audio

Template for adding links to pronunciation audio files.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
File name1

The name of the pronunciation file without the "File:" prefix.

Default
Example.ogg
Page namerequired
Name of link2

The name to give for the link.

Stringrequired

See also