Difference between revisions of "Template:Audio-nohelp"
Jump to navigation
Jump to search
imported>Nardog (sync with Template:Audio) |
imported>Nardog (implement a tracking category) |
||
| 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]] </span>[[:Media:{{{1|}}}|{{{2|{{{1|}}}}}}]]</span>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with hAudio microformats]]}}</span><noinclude> | + | <span class="unicode haudio"><span class="fn"><span style="white-space:nowrap">[[File:Loudspeaker.svg|11px|link=File:{{{1}}}|About this sound]] </span>[[:Media:{{{1|}}}|{{{2|{{{1|}}}}}}]]</span>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with hAudio microformats]]}}</span><!-- tracking category begin -->{{#if:{{{1|}}}|{{#ifexist:Media:{{{1}}}||[[Category:Pages linking to missing files]]}}}}<!-- tracking category end --><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:03, 8 October 2017
About this sound [[:Media:|]]
Contents
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:
Example 2:
{{Audio-nohelp|X morse code.ogg|X|no-info=yes}}
gives this:
Microformat
See also
- {{Listen}} – sets an audio clip off from the main text
- {{Audio}} – for inline sounds like pronunciations (with a help link)
- {{Audio-IPA}} – a variant of this template to be used with IPA notation
- {{Pronunciation}} – a shortcut for
{{small|{{Audio|soundfile.ogg|pronunciation}}}} - {{Audio-nohelp}} – without a help link
- {{Spoken Wikipedia}} – for linking spoken Wikipedia article versions
- {{Multi-listen start}}, {{Multi-listen item}}, and {{Multi-listen end}} – used to list multiple audio files in the same box
- {{Audio icon}} – adds only the small icon with no links
- {{Inline audio}} – adds a notice with link to Wikipedia:Media help
| The above documentation is transcluded from Template:Audio-nohelp/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |