More actions
m (remove tooltip but still include source) |
mNo edit summary |
||
Line 4: | Line 4: | ||
<span class="audio-button">[[Media:{{{file}}}|{{{caption|Play}}}]]</span> | <span class="audio-button">[[Media:{{{file}}}|{{{caption|Play}}}]]</span> | ||
|{{#sub:{{file:{{{file}}}}}|7}} | |{{#sub:{{file:{{{file}}}}}|7}} | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
This template displays a play/pause button for ogg files, and a "Play" link for non-ogg audio files. | This template displays a play/pause button for ogg files, and a "Play" link for non-ogg audio files. |
Revision as of 20:30, 21 March 2020
This template displays a play/pause button for ogg files, and a "Play" link for non-ogg audio files.
Usage
{{Audio |file=filename without the File: prefix (e.g. BlazBlue Central Fiction Jubei Battle Voice VS Celica 001.ogg) |caption=optional caption for non-ogg audio links. The link will display as "Play" by default }} {{Audio|file=BlazBlue Central Fiction Jubei Battle Voice VS Celica 001.ogg|caption=Caption}}