where the ID is the 22-length bit in red:
- for artist:
- for album:
- for song:
https://open.spotify.com/track/17rlejdWM7g3bKfwEOczRK(right-click on song and select "Copy Song Link")
If the second (optional) parameter is omitted, link text defaults to resp. artist name, album title or song part of pagename.
Without the ID, the template produces search links for artist, album and/or song (depending on the type of page on which it is used). The second parameter is ignored on artist and album pages; on song pages it will replace the song part of the pagename for search link and display text.