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

From blackwiki
Jump to navigation Jump to search
imported>Davykamanzi
imported>Davykamanzi
Line 9: Line 9:
  
 
== Usage ==
 
== Usage ==
<code><nowiki>{{Audio-nohelp|<name of sound file>|<text to use as link to soundfile>|info=</nowiki>''yes/no''<nowiki>}}</nowiki></code>
+
<code><nowiki>{{Audio-nohelp|<name of sound file>|<text to use as link to soundfile>|no-info= }}</nowiki></code>
  
 
Example 1:
 
Example 1:

Revision as of 22:32, 4 November 2016

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:

About this soundX

Example 2:

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

gives this:

About this soundX

Microformat

Template:UF-audio

See also