Template:Audio
From Wikibooks, open books for an open world
[[:Media:|]] (help·[[:Image:|info]])
[edit] Purpose
This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like.
[edit] Usage
{{Audio|name of sound file|text to use as link to soundfile}}
Example:
'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a port city in...
gives this:
- Bordeaux (
pronunciation (help·info)) is a port city in...
Note that a printout of the page will remove the "help·info" bit and give:
- Bordeaux (pronunciation ) is a port city in...
Setting |help=no disables the "help/info" links. If this is done the template {{inline audio}} must be shown on the page.
[edit] See also
- {{Listen}}, which sets an audio clip off from the main text.
- {{Multi-listen start}}, {{Multi-listen item}}, and {{Multi-listen end}}, templates used to list multiple audio files in the same box