Template:Playlist

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:41, 17 October 2024 (Created page with "<includeonly><div id="music-playlist" style="display: none;" data-unlocked-button="{{#if:{{{unlocked|}}}|true|false}}" class="{{{class|}}}"><div class="music-playlist-header">{{{title|Old School RuneScape music player}}}</div></div></includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Playlist/doc. [edit] [history] [purge]

Use this template to insert a music player. The player will display a button to shuffle play all linked music tracks on that page. If the unlocked parameter is set to any value, another button will be added that will shuffle play all unlocked tracks. This requires the tracks to be in a lighttable. For the player to function properly, all linked music tracks must be listed in a table, with a link to the music track's page in the first cell of that table.

An optional title parameter can be set to specify the title given in the playlist box.

Example

{{Playlist|unlocked=true|title=I'm playing my Shanty Pass.}}

gives:

This playlist will play any linked songs that are listed on the page. Embedded songs will not be played; this playlist only works if the tracks are listed as wikilinks. Pressing the button to play unlocked tracks will only play songs that are highlighted in the table. If no tracks are highlighted, an alert prompt will be given.

Song Audio
Sea Shanty File:Sea Shanty.ogg
Sea Shanty 2 File:Sea Shanty 2.ogg
Sea Minor Shanty File:Sea Minor Shanty.ogg