Discogs label discography at Discogs
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template uses the Wikidata property:
- Discogs label ID (P1955) (see uses)
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}}
If the label name is not provided, then the first value from Wikidata will be used. If the Wikidata item does not have any Discogs label ID (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:
- XL Recordings discography at Discogs
- XL Recordings discography at Discogs
- The URL generated by this template is:
- Which the Discogs website redirects to:
- 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:
- Beggars Banquet Records discography at Discogs
- Beggars Banquet Records discography at Discogs
- The URL generated by this template is:
- Which the Discogs website redirects to:
- 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:
- Solid State Records discography at Discogs
- Solid State Records discography at Discogs
- Solid State Records discography at Discogs
- The URL generated by this template is:
- Which the Discogs website redirects to: