Template:Audio

From bg3.wiki
Revision as of 02:32, 2 November 2024 by NtCarlson (talk | contribs) (Created page with "<includeonly><ab>{{{file|{{{1|}}}}}}</ab>{{{text|{{{2|}}}}}}</includeonly><noinclude>{{documentation|content= Insert a link to an audio file with compact play/pause controls suitable for inline usage. This is a simple wrapper around [https://github.com/NilsEnevoldsen/AudioButton AudioButton]. {{Template demo | style = table | caption 1 = Unnamed arguments | <nowiki>{{Audio|Which_worg_upchucked_you.wav|Cutting Words}}</nowiki> | caption 2 = Named arguments | <nowiki>{{A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation

Insert a link to an audio file with compact play/pause controls suitable for inline usage.

This is a simple wrapper around AudioButton.

Example Markup Renders as
Unnamed arguments
{{Audio|Which_worg_upchucked_you.wav|Cutting Words}}
Cutting Words
Named arguments
{{Audio|Galeperniciousputrifyingpissant.wav|text=Pernicious, putrefying pissant!}}
Pernicious, putrefying pissant!

Template data

Embed an audio file with compact play/pause controls suitable for inline usage

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Filefile 1

Audio file to link

Filerequired
Texttext 2

Text to display with the audio file

Stringsuggested