Template:Discogs release/doc

This template displays an external link to Discogs' release of audio format (as opposed to Discogs master which links to the master list of all releases of a given release), including "double-quotes" for singles and italics for everything else.

Usage

 * (for non-singles)

If no release ID is provided, then the first value from Wikidata will be used. If the Wikidata item does not have any data, then the template will not output any text.

Examples

 * Album usage
 * For Novus Magnificat at http://www.discogs.com/release/311591 you use:
 * * (canonically)
 * * (canonically)
 * * (canonically)


 * Single usage
 * For "Love Me Do" at http://www.discogs.com/release/1789539 you use:
 * * (canonically)
 * * (canonically)
 * * (canonically)

TemplateData
{	"params": { "1": {			"aliases": [ "id", "release" ],			"label": "Release", "type": "number", "required": true },		"2": {			"aliases": [ "name" ],			"label": "Name", "type": "string", "default": "", "suggested": true },		"pure_url": {}, "type": { "description": "Set to \"single\" (without the quotes) for a single", "example": "single" }	},	"description": "Link to discogs' audio release (as opposed to master, which lists all releases of a given work)", "paramOrder": [ "1",		"2",		"type", "pure_url" ] }