Template:Spotify x/doc: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (Bot: Automated text replacement (-\{\{[sS]potify +{{spotify x)) Tag: apiedit |
No edit summary Tag: sourceedit |
||
Line 1: | Line 1: | ||
{{tlx|spotify}}, 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: <code>artist</code>, <code>album</code> and <code>track</code>. | {{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: <code>artist</code>, <code>album</code> and <code>track</code>. | ||
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. | ||
For example: | For example: | ||
:{{tlx|spotify|artist{{=}}2PKm8aJ43kvEqtzTmggKdn}} | :{{tlx|spotify x|artist{{=}}2PKm8aJ43kvEqtzTmggKdn}} | ||
{{spotify x|artist=2PKm8aJ43kvEqtzTmggKdn|name=Doctor Who}} | {{spotify x|artist=2PKm8aJ43kvEqtzTmggKdn|name=Doctor Who}} | ||
:{{tlx|spotify|album{{=}}2Meoz0qaJaEsdMGk57hsCH}} | :{{tlx|spotify x|album{{=}}2Meoz0qaJaEsdMGk57hsCH}} | ||
{{spotify x|album=3iCIQ32be1kAba59UIhBfF|name=Doctor Who - Series 8}} | {{spotify x|album=3iCIQ32be1kAba59UIhBfF|name=Doctor Who - Series 8}} | ||
:{{tlx|spotify|track{{=}}57KORKnC0OQM7HE7IN2FkZ}} | :{{tlx|spotify x|track{{=}}57KORKnC0OQM7HE7IN2FkZ}} | ||
{{spotify x|track=57KORKnC0OQM7HE7IN2FkZ|name=Hope There's Someone}} | {{spotify x|track=57KORKnC0OQM7HE7IN2FkZ|name=Hope There's Someone}} | ||
If you wish to get something other than the article's page name in the link name, please use the '''<code>name</code>''' variable to define this. | If you wish to get something other than the article's page name in the link name, please use the '''<code>name</code>''' variable to define this. |
Revision as of 19:25, 4 June 2017
{{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: artist
, album
and track
.
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
variable to define this.