Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Audio: Difference between revisions

Template page
Shane (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
m tweak
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><span class="unicode audiolink">[[:Media:{{{1}}}|{{{2}}}]]</span> <span class="metadata audiolinkinfo"><small>([[Wikipedia:Media help|help]]·[[:Image:{{{1}}}|info]])</small></span></onlyinclude>
<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 7: Line 6:
<pre>
<pre>
{{Audio
{{Audio
  | Var 1
  | filename
  | Var 2
  | text
}}
}}
</pre>
</pre>
<tt><nowiki>{{Audio|Cassiopeia.mp3|pronunciation}}</nowiki></tt>
<tt><nowiki>{{Audio|Battlestar Galactica Opening Narration (TOS).mp3|pronunciation}}</nowiki></tt>


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


=== Live Example ===
=== Live Example ===
:<tt><nowiki>'''Cassiopeia''' ({{Audio|Cassiopeia.mp3|pronunciation}}) is a medtech on [[battlestar (TOS)|]] ''[[Galactica (TOS)|]]''...</nowiki></tt>
:<tt><nowiki> '''Cassiopeia''' ({{Audio|Cassiopeia.mp3|pronunciation}}) is a medtech on [[battlestar (TOS)|battlestar]] ''[[Galactica (TOS)|Galactica]]''...</nowiki></tt>


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

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...