Toggle menu
Toggle preferences 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
Joe Beaudoin Jr. (talk | contribs)
import from big W
 
Joe Beaudoin Jr. (talk | contribs)
m tweak
 
(10 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.


== Usage ==
== Usage ==
<pre>
{{Audio
| filename
| text
}}
</pre>
<tt><nowiki>{{Audio|Battlestar Galactica Opening Narration (TOS).mp3|pronunciation}}</nowiki></tt>
=== Required Paramaters ===
* '''filename''': Audio file
* '''text''': Mini description


<code><nowiki>{{Audio|name of sound file|text to use as link to soundfile}}</nowiki></code>
=== Live Example ===
:<tt><nowiki> '''Cassiopeia''' ({{Audio|Cassiopeia.mp3|pronunciation}}) is a medtech on [[battlestar (TOS)|battlestar]] ''[[Galactica (TOS)|Galactica]]''...</nowiki></tt>


Example:
=== Live Usage ===
:<code><nowiki>'''Cassiopeia''' ({{Audio|Cassiopeia.mp3|pronunciation}}) is a medtech on [[battlestar (TOS)|]] ''[[Galactica (TOS)|]]''...</nowiki></code>
gives this:
'''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...