Difference between revisions of "Template:Audio2"

From blackwiki
Jump to navigation Jump to search
imported>Omegatron
(«"Sound [[Media:{{{1}}}|listen]]" → "<span class='unicode audiolink'>[[Media:{{{1}}}|listen]]</span>"» newer CSS version)
imported>Omegatron
(«+"><noinclude> <code><nowiki>{{Audio2|name of sound file}}</nowiki></code> Example: :<code><nowiki>{{Audio-nohelp|X morse code.ogg|X}}</nowiki></code> gives this: : {{Audio-nohelp|X morse code.ogg|X}} '''Since the template does not include a help l)
Line 1: Line 1:
<small>(<span class="unicode audiolink">[[Media:{{{1}}}|listen]]</span>)</small>
+
<small>(<span class="unicode audiolink">[[Media:{{{1}}}|listen]]</span>)</small><noinclude>
 +
 
 +
== Usage ==
 +
 
 +
<code><nowiki>{{Audio2|<name of sound file>}}</nowiki></code>
 +
 
 +
Example:
 +
:<code><nowiki>{{Audio2|Xiàngqí.ogg}}</nowiki></code>
 +
gives this:
 +
: {{Audio2|Xiàngqí.ogg}}
 +
 
 +
'''Since the template does not include a help link, an explanation needs to be provided elsewhere, like {{tl|Inline audio}}.'''</noinclude>

Revision as of 18:00, 18 April 2006

([[Media:{{{1}}}|listen]])

Usage

{{Audio2|<name of sound file>}}

Example:

{{Audio2|Xiàngqí.ogg}}

gives this:

(listen)

Since the template does not include a help link, an explanation needs to be provided elsewhere, like {{Inline audio}}.