Difference between revisions of "Template:Discogs"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(trying something)
 
(link to reason for template)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks"><small>([https://www.discogs.com/release/{{{1}}} Discogs])</small></span></includeonly><noinclude>
+
<includeonly><span class="plainlinks">[https://www.discogs.com/release/{{{1}}} {{{2|Discogs}}}]</span></includeonly><noinclude>
Creating a small link to Discogs release.
+
Creating a small link to Discogs release. Created for use on [[List of HDCD-encoded Compact Discs]].
  
 
==Usage==
 
==Usage==
Takes a Discogs release id as the argument.
+
Takes a Discogs release id as the first argument, and a label as the optional second argument.
  
<nowiki>Oh! The Grandeur {{doscogs|465635}}</nowiki> ''yields'' Oh! The Grandeur {{discogs|465635}}
+
<nowiki>Oh! The Grandeur {{discogs|465635|RCD 10398}}</nowiki> ''yields'' Oh! The Grandeur {{discogs|465635|RCD 1039}}
 
</noinclude>
 
</noinclude>

Latest revision as of 05:21, 2 August 2016

Creating a small link to Discogs release. Created for use on List of HDCD-encoded Compact Discs.

Usage

Takes a Discogs release id as the first argument, and a label as the optional second argument.

Oh! The Grandeur {{discogs|465635|RCD 10398}} yields Oh! The Grandeur RCD 1039