Template:Discogs label/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Discogs label. It contains usage information, categories and other content that is not part of the original template page. |
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 displays an external link to Discogs' label of releases in audio format, listing all releases for the given label.
Usage
- {{Discogs label}}
- {{Discogs label|LABEL}}
- {{Discogs label|label=LABEL}}
- {{Discogs label|LABEL|LABELNAME}}
- {{Discogs label|LABEL|name=LABELNAME}}
- {{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 Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (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 http://www.discogs.com/label/XL+Recordings you use:
- * {{Discogs label}}
- * {{Discogs label|label=XL Recordings}} (canonically)
- XL Recordings discography at Discogs
- XL Recordings discography at Discogs
- Labelname different on Discogs site, display the name as on Discogs
- For "Beggars Banquet Records" at http://www.discogs.com/label/Beggars+Banquet you use:
- * {{Discogs label|Beggars Banquet}}
- * {{Discogs label|label=Beggars Banquet}} (canonically)
- Beggars Banquet discography at Discogs
- Beggars Banquet discography at Discogs
- Labelname different on Discogs site, display the name as on Wikipedia or something else
- For "Solid State Records (jazz label)" at http://www.discogs.com/label/Solid+State+Records+(2) you use:
- * {{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)
- Solid State Records discography at Discogs
- Solid State Records discography at Discogs
- Solid State Records discography at Discogs
See also