Template:Audio
From Wikipedia, the free encyclopedia
[[:Media:|]] (help·[[:Image:|info]])
[edit] []
Template documentation
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.
Usage
{{Audio|name of sound file|text to use as link to soundfile}}
Example:
'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a [[Seaport|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.
See also
- Template:Audio-IPA (backlinks, edit), a variant of this template to be used with IPA notation.
- Template:Pronunciation (backlinks, edit), a shortcut for {{Audio|soundfile.ogg|pronunciation}}.
- Template:Spoken (backlinks, edit), which adds only the small icon with no links.
- Template:Listen (backlinks, edit), which sets an audio clip off from the main text.
| The above documentation is transcluded from Template:Audio/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. A print version of this template exists at /Print. If you make a change to this template, please update the print version as well. |