Toggle menu
24K
665
183
158.2K
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
Remove incorrectly added parameter
*>HydrizBot
m Replaced "Image:" with "File:"
Line 3: Line 3:
--><tr><!--
--><tr><!--
--><td class="unicode audiolink">{{{2|<noinclude>{{{2}}}</noinclude>}}}</td><!--
--><td class="unicode audiolink">{{{2|<noinclude>{{{2}}}</noinclude>}}}</td><!--
--><td class="audiofile">[[Image:{{{1|<noinclude>Example.ogg</noinclude>}}}|noicon|175px]]</td><!--
--><td class="audiofile">[[File:{{{1|<noinclude>Example.ogg</noinclude>}}}|noicon|175px]]</td><!--
--><td class="audiometa" style="font-size: 80%;">([[:Image:{{{1|<noinclude>Example.ogg</noinclude>}}}|file]])</td><!--
--><td class="audiometa" style="font-size: 80%;">([[:File:{{{1|<noinclude>Example.ogg</noinclude>}}}|file]])</td><!--
--></tr><!--
--></tr><!--
--></table><!--
--></table><!--

Revision as of 02:27, 4 June 2015

(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