This wiki is still in active development, many areas of the site are unstable or broken.

In the meantime, consider adding content to pages you like!

Template:Spotify/doc: Difference between revisions

From NBITTRPG Wiki
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This template embeds a Spotify playlist. Made with the help of https://www.mediawiki.org/wiki/Extension:EmbedSpotify.
This template embeds a Spotify element. Made with the help of https://www.mediawiki.org/wiki/Extension:EmbedSpotify.
== Usage ==
== Usage ==
The proper use of this template is to define it by its type, then putting the ID after. The types permitted are '''album''', '''artist''', and '''track'''.
The proper use of this template is to define it by its type, then putting the ID after. The types permitted are '''album''', '''artist''', and '''track'''.
Line 18: Line 18:
<spotify>playlist/id</spotify>
<spotify>playlist/id</spotify>
</syntaxhighlight>
</syntaxhighlight>
* [[:Template:Spotify small]]
<includeonly>[[Category:Templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly>

Latest revision as of 06:58, 27 October 2026

This template embeds a Spotify element. Made with the help of https://www.mediawiki.org/wiki/Extension:EmbedSpotify.

The proper use of this template is to define it by its type, then putting the ID after. The types permitted are album, artist, and track.

{{Spotify|type|id}}

The following is an example of a Spotify embed of an album.

{{Spotify|album|5ganODBC3oQquPyGiNv9bt}}

Example

[edit source]

Album


Artist


Track


See also

[edit source]

For playlist support, use the <spotify> tags and format it as such:

<spotify>playlist/id</spotify>