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

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(→‎See also: Remove per TfD)
imported>Zyxw
(misc formatting)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
{{esoteric}}
 
{{esoteric}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{Wikidata property|P1954}}
==Usage==
 
;Purpose
 
: 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.
 
  
;Syntax
+
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.
 +
 
 +
== Usage ==
 
: <nowiki>{{Discogs master|MASTER}}</nowiki> (for non-singles)
 
: <nowiki>{{Discogs master|MASTER}}</nowiki> (for non-singles)
 
: <nowiki>{{Discogs master|MASTER|type=album OR single}}</nowiki>
 
: <nowiki>{{Discogs master|MASTER|type=album OR single}}</nowiki>
Line 14: Line 14:
 
: <nowiki>{{Discogs master|master=MASTER|name=WORKNAME|type=album OR single}}</nowiki>
 
: <nowiki>{{Discogs master|master=MASTER|name=WORKNAME|type=album OR single}}</nowiki>
  
;Examples
+
== Examples ==
 
:;Album usage
 
:;Album usage
 
: For ''[[Novus Magnificat]]'' at http://www.discogs.com/master/82870 you use:
 
: For ''[[Novus Magnificat]]'' at http://www.discogs.com/master/82870 you use:
Line 29: Line 29:
 
:* {{Discogs master|master=45574|name=Love Me Do|type=single}}
 
:* {{Discogs master|master=45574|name=Love Me Do|type=single}}
  
==See also==
+
== See also ==
 
 
{{Wikidata property|p1954}}
 
 
 
 
* {{tl|Discogs release}}
 
* {{tl|Discogs release}}
 
* {{tl|Discogs artist}}
 
* {{tl|Discogs artist}}
 
* {{tl|Discogs label}}
 
* {{tl|Discogs label}}
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
[[Category:Music external link templates|Discogs master]]
+
[[Category:Music external link templates]]
  
</includeonly>
+
}}</includeonly>

Revision as of 16:32, 13 August 2018

Template:Wikidata property

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.

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