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
Using {{documentation}}
m 8 revisions imported
 
(5 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>
<!--
--><table class="audiotable" style="vertical-align: top; display:inline-block; list-style:none;line-height: 1em;"><!--
--><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><!--
 
 
--><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories, interwikis and TemplateData goes to the /doc subpage -->
<!-- Categories, interwikis and TemplateData goes to the /doc subpage -->
</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