Difference between revisions of "Template:Discogs master/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(misc formatting)
imported>Trialpears
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{esoteric}}
+
{{Uses Wikidata|P1954}}
{{Wikidata property|P1954}}
 
  
 
This template displays an external link to [[Discogs]]' master list of [[audio format]] releases (as opposed to {{tl|Discogs release}} which only links to a given release), including "double-quotes" for singles and ''italics'' for everything else.
 
This template displays an external link to [[Discogs]]' master list of [[audio format]] releases (as opposed to {{tl|Discogs release}} which only links to a given release), including "double-quotes" for singles and ''italics'' for everything else.
 +
 +
The first value from Wikidata is used if there is no master ID provided.
  
 
== Usage ==
 
== Usage ==
Line 34: Line 35:
 
* {{tl|Discogs label}}
 
* {{tl|Discogs label}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]

Latest revision as of 22:23, 9 July 2020

Template:Uses Wikidata

This template displays an external link to Discogs' master list of audio format releases (as opposed to {{Discogs release}} which only links to a given release), including "double-quotes" for singles and italics for everything else.

The first value from Wikidata is used if there is no master ID provided.

Usage

{{Discogs master|MASTER}} (for non-singles)
{{Discogs master|MASTER|type=album OR single}}
{{Discogs master|MASTER|WORKNAME|type=album OR single}}
{{Discogs master|MASTER|name=WORKNAME|type=album OR single}}
{{Discogs master|master=MASTER|WORKNAME|type=album OR single}}
{{Discogs master|master=MASTER|name=WORKNAME|type=album OR single}}

Examples

Album usage
For Novus Magnificat at http://www.discogs.com/master/82870 you use:
* {{Discogs master|82870|Novus Magnificat|type=album}}
* {{Discogs master|master=82870|name=Novus Magnificat|type=album}} (canonically)
Single usage
For "Love Me Do" at http://www.discogs.com/master/45574 you use:
* {{Discogs master|45574|Love Me Do|type=single}}
* {{Discogs master|master=45574|name=Love Me Do|type=single}} (canonically)

See also