Template:audio

From HausaDictionary.com | Hausa English Translation, Dictionary, Translator
Jump to: navigation, search
(file)
Template documentation[view] [edit] [history] [purge]

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 <templatedata> { "params": { "1": { "required": true, "label": "File name", "type": "wiki-page-name", "description": "The name of the pronunciation file without the \"File:\" prefix.", "default": "Example.ogg" }, "2": { "required": true, "label": "Name of link", "type": "string", "description": "The name to give for the link." } }, "description": "Template for adding links to pronunciation audio files." } </templatedata>

See also