Difference between revisions of "Template:Audio-nohelp"

From blackwiki
Jump to navigation Jump to search
imported>Pharos
imported>MSGJ
(move documentation and categories to /doc subpage)
Line 1: Line 1:
 
<span class="unicode audiolink">[[:Media:{{{1}}}|{{{2}}}]]</span> <span class="metadata audiolinkinfo"><small>([[:Image:{{{1}}}|info]])</small></span><noinclude>
 
<span class="unicode audiolink">[[:Media:{{{1}}}|{{{2}}}]]</span> <span class="metadata audiolinkinfo"><small>([[:Image:{{{1}}}|info]])</small></span><noinclude>
__NOTOC__
+
{{documentation}}
 
 
== Purpose ==
 
 
 
This template links to an audio file for quick listening.  It is meant to be used inline with text, for pronunciations and the like. It is meant to be used in situations where the template is used many times in a row and individual help links are not necessary. (see [[Morse code]] for an example). 
 
 
 
'''Since the template does not include a help link, an explanation like {{tl|Inline audio}} ''needs'' to be provided elsewhere in the article.'''
 
 
 
== Usage ==
 
 
 
<code><nowiki>{{Audio-nohelp|<name of sound file>|<text to use as link to soundfile>}}</nowiki></code>
 
 
 
Example:
 
:<code><nowiki>{{Audio-nohelp|X morse code.ogg|X}}</nowiki></code>
 
gives this:
 
: {{Audio-nohelp|X morse code.ogg|X}}
 
 
 
== See also ==
 
 
 
* {{tl|Audio}}, a variant of this template with a help link.
 
* {{tl|Spoken}}, which adds only the small icon with no links.
 
* {{tl|Listen}}, which sets an audio clip off from the main text.
 
 
 
[[Category:Audio templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 08:54, 9 April 2010

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

Template documentation[view] [edit] [history] [purge]

Purpose

This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like; many times in succession and when individual help links are not necessary. (see Morse code for an example).

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

Usage

{{Audio-nohelp|<name of sound file>|<text to use as link to soundfile>|no-info= }}

Example 1:

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

gives this:

X

Example 2:

{{Audio-nohelp|X morse code.ogg|X|no-info=yes}}

gives this:

X

Microformat

Template:UF-audio

See also