Difference between revisions of "Template:Audio-nohelp"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
(sync with Template:Audio)
imported>JJMC89
(wrap {{audio}})
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<span class="unicode haudio"><span class="fn"><span style="white-space:nowrap">[[File:Loudspeaker.svg|11px|link=File:{{{1}}}|About this sound]]&nbsp;</span>[[:Media:{{{1|}}}|{{{2|{{{1|}}}}}}]]</span>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with hAudio microformats]]}}</span><noinclude>
+
<includeonly>{{#invoke:Template wrapper|wrap|_template=audio|_include-positional=yes|help=no}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:29, 26 September 2018

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:

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