Template:Audio
Jump to navigation
Jump to search
This documentation is transcluded from Template:Audio/doc.
This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like. Please note that this just creates a link to the file and does not actually embed the file.
Usage
{{Audio |1= |2= }}
{{Audio|name of sound file|text to use as link to soundfile}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Audio file | Audio file to link to | empty | required |
2 | Label | Text to replace the filename in the link | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Relies on:
- Phonos MediaWiki extension to create an audio link that plays on click
- Template:Category handler
- Template:Error
Example
{{Audio|en-us-Alabama.ogg|pronunciation}}
renders as: