Template:Discogs release/doc

&#x3c;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&#x3e;

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

 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e; (for non-singles)
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;

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:
 * &#x3c;nowiki&#x3e;* &#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;* &#x3c;/nowiki&#x3e; (canonically)
 * &#x3c;nowiki&#x3e;* &#x3c;/nowiki&#x3e; (canonically)


 * Single usage
 * For "Love Me Do" at http://www.discogs.com/release/1789539 you use:
 * &#x3c;nowiki&#x3e;* &#x3c;/nowiki&#x3e;
 * &#x3c;nowiki&#x3e;* &#x3c;/nowiki&#x3e; (canonically)
 * &#x3c;nowiki&#x3e;* &#x3c;/nowiki&#x3e; (canonically)

TemplateData
&#x3c;templatedata&#x3e; {	"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" ] } &#x3c;/templatedata&#x3e;