Template:Playlist

From RuneRealm Wiki
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