Template:Audio: Difference between revisions

Template page
m (tweak)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude><span class="unicode audiolink">[[:Media:{{{1}}}|{{{2|{{{1}}}}}}]]</span> <span class="metadata audiolinkinfo"><small>([[Wikipedia:Media help|help]]·[[:Image:{{{1}}}|info]])</small></span></onlyinclude></includeonly>
<includeonly><onlyinclude><span class="unicode audiolink">[[:Media:{{{1}}}|{{{2|{{{1}}}}}}]]</span> <span class="metadata audiolinkinfo"><small>([[:Media:{{{1}}}|listen]] • [[Wikipedia:Media help|help]] [[:md:Image:{{{1}}}|info]])</small></span></onlyinclude></includeonly>
== Purpose ==
== Purpose ==
This template links to an audio file for quick listening.  It is meant to be used inline with text, for pronunciations, audio version of notable text, and the like.
This template links to an audio file for quick listening.  It is meant to be used inline with text, for pronunciations, audio version of notable text, and the like.
Line 6: Line 6:
<pre>
<pre>
{{Audio
{{Audio
  | Var 1
  | filename
  | Var 2
  | text
}}
}}
</pre>
</pre>
Line 13: Line 13:


=== Required Paramaters ===
=== Required Paramaters ===
* '''Var 1''': Audio file
* '''filename''': Audio file
* '''Var 2''': Mini description
* '''text''': Mini description


=== Live Example ===
=== Live Example ===

Latest revision as of 06:15, 22 March 2008

Purpose

This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations, audio version of notable text, and the like.

Usage

{{Audio
 | filename
 | text
}}

{{Audio|Battlestar Galactica Opening Narration (TOS).mp3|pronunciation}}

Required Paramaters

  • filename: Audio file
  • text: Mini description

Live Example

'''Cassiopeia''' ({{Audio|Cassiopeia.mp3|pronunciation}}) is a medtech on [[battlestar (TOS)|battlestar]] ''[[Galactica (TOS)|Galactica]]''...

Live Usage

Cassiopeia (pronunciation ) is a medtech on battlestar Galactica...