Template:Playlist/doc

From the Tesseract Wiki, the wiki for all things Marvel Cinematic Universe
Jump to navigation Jump to search
Information icon-grey.svg
This is a documentation subpage for Template:Playlist.
It contains usage information, categories, and other content that is not part of the original template page.

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=Mixtape}}

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
Black Panther File:Black Panther.ogg
The Avengers File:The Avengers.ogg