More languages
More actions
*>Razorflame m Protected "Template:audio": Highly visible template, used on over 2,700 pages; protected to prevent tampering ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)) |
m 8 revisions imported |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<!-- | |||
== | --><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}} | |||
<!-- Categories, interwikis and TemplateData goes to the /doc subpage --> | |||
</noinclude> | </noinclude> |
Latest revision as of 00:02, 19 January 2016
{{{2}}} | (file) |
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:
Audio (US) | (file) |
TemplateData
This is the TemplateData documentation for the template used by the new VisualEditor.
Audio
Template for adding links to pronunciation audio files.
Parameter | Description | Type | Status | |
---|---|---|---|---|
File name | 1 | The name of the pronunciation file without the "File:" prefix.
| Page name | required |
Name of link | 2 | The name to give for the link. | String | required |
See also
- Template:Audio-IPA, a version to be used with IPA transcriptions
The above documentation is transcluded from Template:audio/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. |