Template:Spotify x/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: sourceedit
No edit summary
Line 1: Line 1:
{{tlx|spotify x}}, much like other external link templates in the range, links to an off-site page related to the topic at hand. [[Spotify]] URLs are split into three types: <tt>artist</tt>, <tt>album</tt> and <tt>track</tt>.
{{tlx|spotify x}}, much like other external link templates in the range, links to an off-site page related to the topic at hand. [[Spotify]] URLs are split into five types: <tt>artist</tt>, <tt>album</tt>,  <tt>track</tt>, <tt>playlist</tt>, <tt>episode</tt> and <tt>show</tt>.


To use this template, simply select the URL 'type' as the parameter, followed by the ID string in the next part of the URL.
To use this template, simply select the URL 'type' as the parameter, followed by the ID string in the next part of the URL.

Revision as of 20:51, 26 November 2023

{{spotify x}}, much like other external link templates in the range, links to an off-site page related to the topic at hand. Spotify URLs are split into five types: artist, album, track, playlist, episode and show.

To use this template, simply select the URL 'type' as the parameter, followed by the ID string in the next part of the URL.

For example:

{{spotify x|artist=2PKm8aJ43kvEqtzTmggKdn}}
{{spotify x|album=2Meoz0qaJaEsdMGk57hsCH}}
{{spotify x|track=57KORKnC0OQM7HE7IN2FkZ}}

If you wish to get something other than the article's page name in the link name, please use the name -pt:1 variable to define this.