Template:Audio button/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Created page with "{{Documentation}} The '''Audio button''' template is used to embed an audio file in a single-button inline audio player. Helps reduce the overall footprint of the audio player, which often renders quite large, and encourages the browser to not preload files. ==Parameters== <pre>{{Audio button|<filename> (e.g. Quest complete.ogg)|alt=Hover text to display (displays filename if omitted)}}</pre> ==See also== * Template:Listen * Template:Listen inline ==Credits==..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The '''Audio button''' template is used to embed an audio file in a single-button inline audio player. Helps reduce the overall footprint of the audio player, which often renders quite large, and encourages the browser to not preload files. | The '''Audio button''' template is used to embed an audio file in a single-button inline audio player. Helps reduce the overall footprint of the audio player, which often renders quite large, and encourages the browser to not preload files. | ||
==Parameters== | ==Parameters== | ||
<pre>{{Audio button|<filename> (e.g. Quest complete.ogg)|alt=Hover text to display (displays filename if omitted)}}</pre> | <pre>{{Audio button|<filename> (e.g. Quest complete.ogg)|alt=Hover text to display (displays filename if omitted)}}</pre> | ||
==Credits== | ==Credits== | ||
| Line 14: | Line 8: | ||
** [https://runescape.wiki/w/Template:Audio_button Equivalent templates and gadgets] on the RuneScape Wiki, created by Habblet. | ** [https://runescape.wiki/w/Template:Audio_button Equivalent templates and gadgets] on the RuneScape Wiki, created by Habblet. | ||
<includeonly>[[Category:Audio templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Audio templates|{{PAGENAME}}]]</includeonly> | ||
Latest revision as of 02:24, 17 October 2025
The Audio button template is used to embed an audio file in a single-button inline audio player. Helps reduce the overall footprint of the audio player, which often renders quite large, and encourages the browser to not preload files.
Parameters
[edit source]{{Audio button|<filename> (e.g. Quest complete.ogg)|alt=Hover text to display (displays filename if omitted)}}
Credits
[edit source]- AudioButton extension by Nils Enevoldsen
- Equivalent templates and gadgets on the RuneScape Wiki, created by Habblet.