More languages
More actions
*>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">[[ | --><td class="audiofile">[[File:{{{1|<noinclude>Example.ogg</noinclude>}}}|noicon|175px]]</td><!-- | ||
--><td class="audiometa" style="font-size: 80%;">([[: | --><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
{{{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. |