Template:Audio

From bg3.wiki
Revision as of 02:52, 2 November 2024 by NtCarlson (talk | contribs) (Updated documentation)
(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 for the AudioButton extension.

Examples

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

Pernicious, putrefying pissant!

Normal MediaWiki embed
[[File:Galeperniciousputrifyingpissant.wav]]

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