Template:audio
Appearance
(file) |
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:
Audio (US) | (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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
File name | 1 | The name of the pronunciation file without the "File:" prefix.
| Page name | required |
Name of link | 2 | The name to give for the link. | String | required |
See also
- Template:Audio-IPA, a version to be used with IPA transcriptions
The above documentation is transcluded from Template:audio/doc. (change | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |