Template:Spotify: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
(Created page with "{{#if:{{{size|}}}|{{{size}}}|18px}}|link=https://open.spotify.com/{{{type|track}}}/{{{1}}} <noinclude> <templatedata> { "params": { "...")
 
No edit summary
Line 4: Line 4:
{
{
"params": {
"params": {
"1": {
"label": "ID of track or album",
"type": "string",
"required": true
},
"size": {
"size": {
"label": "Size",
"label": "Size",
"type": "unknown",
"type": "unknown",
"autovalue": "18px",
"autovalue": "18px",
"suggested": true,
"description": "Size of the Spotify logo"
},
"type": {
"label": "Type",
"description": "Either 'track' or 'album'",
"default": "track",
"suggested": true
"suggested": true
}
}
}
},
"description": "Shows the Spotify logo that links to the given song or album"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 16:22, 9 May 2020

Shows the Spotify logo that links to the given song or album

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
ID of track or album1

no description

Stringrequired
Sizesize

Size of the Spotify logo

Auto value
18px
Unknownsuggested
Typetype

Either 'track' or 'album'

Default
track
Unknownsuggested