Toggle menu
24K
663
183
158.1K
HausaDictionary.com | Hausa English Translations
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:audio: Difference between revisions

Template page
*>Hydriz
removing linking to image, rather confusing
m 8 revisions imported
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:Loudspeaker.svg|link=]]&nbsp;[[:Media:{{{1}}}|{{{2}}}]]<sup>[[Wikipedia:Wikipedia:Media help (Ogg)|help]], [[:Image:{{{1}}} |file]]</sup><noinclude>
<!--
==Usage==
--><table class="audiotable" style="vertical-align: top; display:inline-block; list-style:none;line-height: 1em;"><!--
<code><nowiki>{{audio|<name of sound file>|<text to use as link to soundfile>}}</nowiki></code>
--><tr><!--
--><td class="unicode audiolink">{{{2|<noinclude>{{{2}}}</noinclude>}}}</td><!--
--><td class="audiofile">[[File:{{{1|<noinclude>Example.ogg</noinclude>}}}|noicon|175px]]</td><!--
--><td class="audiometa" style="font-size: 80%;">([[:File:{{{1|<noinclude>Example.ogg</noinclude>}}}|file]])</td><!--
--></tr><!--
--></table><!--


Example:
:<code><nowiki>{{audio|en-us-computer.ogg|Audio (US)}}</nowiki></code>
gives this:
:[[Image:Loudspeaker.svg| ]]&nbsp;[[:Media:en-us-computer.ogg|Audio (US)]]</span><sup>[[Wikipedia:Wikipedia:Media help (Ogg)|help]], [[:Image:en-us-computer.ogg |file]]</sup>


==See also==
--><noinclude>
*[[Template:Audio-IPA]], a version to be used with IPA transcriptions
{{documentation}}
 
<!-- Categories, interwikis and TemplateData goes to the /doc subpage -->
[[Category:Audio templates|audio]]
 
[[de:Vorlage:audio]]
[[en:Template:audio]]
[[eo:ŝablono:aŭdio]]
[[nl:sjabloon:audio]]
[[pl:Szablon:audio]]
[[vi:Tiêu bản:âm thanh]]
[[zh:Template:audio]]
</noinclude>
</noinclude>

Latest revision as of 00:02, 19 January 2016

(file)
Template documentation[view] [edit] [history] [purge]

This template is used for creating a nice link to pronunciation files.

Usage

{{audio
| 1 = Name of sound file
| 2 = Text to use as link to soundfile
}}

Example

{{audio|en-us-computer.ogg|Audio (US)}}

gives this:

(file)

TemplateData

This is the TemplateData documentation for the template used by the new VisualEditor.

Audio

Template for adding links to pronunciation audio files.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
File name1

The name of the pronunciation file without the "File:" prefix.

Default
Example.ogg
Page namerequired
Name of link2

The name to give for the link.

Stringrequired

See also