Template:PlayAudio/doc

From The World of Gotha
Jump to navigation Jump to search
This is a documentation subpage for Template:PlayAudio.
It may contain usage information, categories and other content that is not part of the original template page.

The {{PlayAudio}} template places a "play" button () and displays a title for an audio file in an article. Pressing the "play" button opens the audio file and plays it.

Usage

To use the template, copy and paste the following where it should appear. Note: The template does not work inline and works best within a table cell.

{{PlayAudio|1|2}}

Parameters

Parameter Description Type Status Notes
1 Audio file link String Required Use the full url (e.g., https://gothandawn.com/w/images/x/xx/filename)
2 Display text String Required Text to display next to the "play button" (for no text, set this parameter to  )

Example

{{PlayAudio|https://gothandawn.com/w/images/f/f6/02_idiotul_idioten_idiot.ogg|Idiotul Idioten Idiot}}

  Idiotul Idioten Idiot