Template:Audio/doc
Appearance
This is a documentation subpage for Template:Audio It may contain usage information, categories and other content that is not part of the original template page. |
Purpose
[edit source]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
[edit source]{{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 source]- {{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