Template:audio

From Wiktionary
Jump to navigation Jump to 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.

[Edit template data]

Template parameters

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