Difference between revisions of "Template:Discogs"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(trying something)
 
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.
  
 
==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>

Revision as of 05:20, 2 August 2016

Creating a small link to Discogs release.

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