Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  





3 See also  














Template:Discogs label






Alemannisch

Deutsch
فارسی
Français


Nederlands

Română
Русский
Српски / srpski


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Discogs label discography at Discogs

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 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 Recordingsathttps://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 Banquetathttps://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)athttps://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


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Discogs_label&oldid=896409198"

Categories: 
Intricate templates
Templates using data from Wikidata
Music external link templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 10 May 2019, at 08:55 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki