Template:Audio/doc
This is a documentation subpage for Template:Audio It contains usage information, categories and other content that is not part of the original template page. |
Purpose
editThis template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like.
Usage
edit{{Audio|name of sound file|text to use as link to soundfile}}
Example:
'''Paris''' ({{Audio|Fr-Paris.ogg|pronunciation}}) is the capital city of France.
gives this:
- Paris ( pronunciation (help·info)) is the capital city of France.
Note that a printout of the page will remove the "help·info" bit and give:
- Paris (pronunciation ) is the capital city of France.
Setting |help=no
disables the "help/info" links. If this is done the template {{inline audio}} must be shown on the page.
See also
edit- {{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