Difference between revisions of "Template:Audio-nohelp/doc"

From blackwiki
Jump to navigation Jump to search
imported>Davykamanzi
imported>Nardog
Line 30: Line 30:
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Audio templates]]
 
[[Category:Audio templates]]
 +
[[Category:Templates that add a tracking category]]
 
</includeonly>
 
</includeonly>

Revision as of 13:04, 8 October 2017

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:

Audio file "X morse code.ogg" not found

Example 2:

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

gives this:

Audio file "X morse code.ogg" not found

Microformat

Template:UF-audio

See also