قالب:Discogs label/doc

The {{Discogs label}} template displays an external link to Discogs' label of releases in audio format, listing all releases for the given label.

Usage

Unnamed parameters
{{Discogs label|LABEL}}
{{Discogs label|LABEL|LABELNAME}}
Named parameters
{{Discogs label|label=LABEL}}
{{Discogs label|label=LABEL|name=LABELNAME}}
Using Wikidata property P1955 or article name
{{Discogs label}}
{{Discogs label|name=LABELNAME}}

If the label name is not provided, then the first value from Wikidata will be used. If the Wikidata item does not have any [خطأ: الوظيفة "wdurl" غير موجودة. (P1955)] data, or there is no Wikidata item for the article, then the article title will be used to generate a link.

Examples

Labelname same on both sites
For XL Recordings at https://www.discogs.com/label/160-XL-Recordings, use the following in XL Recordings:
* {{Discogs label}}
* {{Discogs label|label=XL Recordings}} (canonically)
Which displays as:
The URL generated by this template is:
https://www.discogs.com/label/XL+Recordings
Which the Discogs website redirects to:
https://www.discogs.com/label/160-XL-Recordings
Labelname different on Discogs site, display the name as on Discogs
For Beggars Banquet at https://www.discogs.com/label/2056-Beggars-Banquet use the following in Beggars Banquet Records:
* {{Discogs label|Beggars Banquet}}
* {{Discogs label|label=Beggars Banquet}} (canonically)
Which displays as:
The URL generated by this template is:
https://www.discogs.com/label/Beggars+Banquet
Which the Discogs website redirects to:
https://www.discogs.com/label/2056-Beggars-Banquet
Labelname different on Discogs site, display the name as on Wikipedia or something else
For Solid State Records (2) at https://www.discogs.com/label/31325-Solid-State-Records-2 use the following in Solid State Records (jazz label):
* {{Discogs label|Solid State Records (2)|Solid State Records}}
* {{Discogs label|Solid State Records (2)|name=Solid State Records}}
* {{Discogs label|label=Solid State Records (2)|name=Solid State Records}} (canonically)
Which displays as:
The URL generated by this template is:
https://www.discogs.com/label/Solid+State+Records+(2)
Which the Discogs website redirects to:
https://www.discogs.com/label/31325-Solid-State-Records-2

See also