Difference between revisions of "Template:Audio/doc"

From blackwiki
Jump to navigation Jump to search
imported>DzWiki
m (+bs)
imported>CommonsDelinker
m (Removing "Fr-Bordeaux.ogg", it has been deleted from Commons by Fastily because: No source since 14 March 2012.)
Line 12: Line 12:
 
Example:
 
Example:
  
:<code><nowiki>'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a [[Seaport|port]] city in...</nowiki></code>
+
:<code><nowiki>'''Bordeaux''' ({{Audio||pronunciation}}) is a [[Seaport|port]] city in...</nowiki></code>
  
 
gives this:
 
gives this:
  
:'''Bordeaux''' ({{Audio|Fr-Bordeaux.ogg|pronunciation}}) is a [[Seaport|port]] city in...
+
:'''Bordeaux''' ({{Audio||pronunciation}}) is a [[Seaport|port]] city in...
  
 
Note that a printout of the page will remove the "help·info" bit and give:
 
Note that a printout of the page will remove the "help·info" bit and give:

Revision as of 11:33, 4 April 2012

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||pronunciation}}) is a [[Seaport|port]] city in...

gives this:

Bordeaux () 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