Template:audio

From Wiktionary
Jump to: navigation, search
(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 the template used by the new VisualEditor.

Audio

Template for adding links to pronunciation audio files.

Template parameters

Parameter Description Type Status
File name 1

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

Default
Example.ogg
Example
empty
Auto value
empty
Page required
Name of link 2

The name to give for the link.

Default
empty
Example
empty
Auto value
empty
String required

See also