Template:Audio/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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 (About this sound pronunciation ) 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]