The navbox below links to Templates for easy navigation and for organization of all current templates.
Please note that this box below has the <noinclude> tag. This means that when you insert the template you are using above ^ to an article, this box below will NOT be inserted.
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Description
Displays the preview of a release available on Spotify using EmbedVideo.
This is the full version of this template, that can display a scroll box showing multiple songs. For displaying releases with only one song, consider using Template:Spotify small.
Parameters
| Parameter Name | Info |
|---|---|
| {{{1}}} | The first positional parameter is the type of the spotify embed, that can be album, track, artist or playlist. You can find the type of embed in the spotify url. (Required) |
| {{{2}}} | The second positional parameter is the id of the album/track/artist/playlist, which is a unique identifier composed of numbers and letters that can be found at the end of the spotify url. (Required) |
| {{{width}}} | A custom width can be set with this parameter. Default is 320.* (Optional) |
| {{{height}}} | A custom height can be set with this parameter. Default is 380.* (Optional) |
| {{{align}}} | Alignment can be set with this parameter, that can be left, center, right or inline. Default is left. (Optional) |
*Notice: Custom sizes are to be set with numbers only, without the "px".
Examples
Types
Releases
Link: https://open.spotify.com/album/0BTiFYoYsuKefaM1HIQqCC
Syntax:{{Spotify|album|0BTiFYoYsuKefaM1HIQqCC}}
Example:
Tracks
Link: https://open.spotify.com/track/2UJqnLNlUSQ2ZRBQuEFZml
Syntax:{{Spotify|track|2UJqnLNlUSQ2ZRBQuEFZml}}
Example:
Artists
Link: https://open.spotify.com/artist/0cdpFI2dZC34peIkjI1rLs
Syntax:{{Spotify|artist|0cdpFI2dZC34peIkjI1rLs}}
Example:
Playlists
Link: https://open.spotify.com/playlist/37i9dQZF1E8LwoVut07Wmg
Syntax:{{Spotify|playlist|37i9dQZF1E8LwoVut07Wmg}}
Example:
Custom Size
Custom size can be set in any of the above by passing width and height to the template.
Syntax:{{Spotify|album|0BTiFYoYsuKefaM1HIQqCC|width=400|height=400}}
Example:
Alignment
Alignment can be set in any of the above with the align parameter.
Syntax:{{Spotify|track|2UJqnLNlUSQ2ZRBQuEFZml|align=center}}
Example: