Template:Audio: Difference between revisions

From Perplex City Wiki
Jump to navigationJump to search
(audio template from w:Template:Audio-nohelp)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="unicode audiolink">[[:Media:{{{1}}}|{{{2}}}]]</span> <span class="metadata audiolinkinfo"><small>([[:Image:{{{1}}}|info]])</small></span>
<span class="unicode audiolink">[[:Media:{{{1}}}|{{{2}}}]]</span> <span class="metadata audiolinkinfo"><small>([[:Image:{{{1}}}|info]])</small></span><noinclude>
__NOTOC__
 
== Purpose ==
 
This template links to an audio file for quick listening.
 
== Usage ==
 
<code><nowiki>{{Audio|<name of sound file>|<text to use as link to soundfile>}}</nowiki></code>
 
Example:
:<code><nowiki>{{Audio|X morse code.ogg|X}}</nowiki></code>
gives this:
: {{Audio|X morse code.ogg|X}}
 
== Technical Details ==
 
Links with the class ''audiolink'' are given the speaker icon in [[MediaWiki:Common.css]].
 
[[Category:Templates]]
</noinclude>

Latest revision as of 10:26, 18 May 2007

[[:Media:{{{1}}}|{{{2}}}]]


Purpose

This template links to an audio file for quick listening.

Usage

{{Audio|<name of sound file>|<text to use as link to soundfile>}}

Example:

{{Audio|X morse code.ogg|X}}

gives this:

X

Technical Details

Links with the class audiolink are given the speaker icon in MediaWiki:Common.css.