Difference between revisions of "Template:Discogs release/doc"
Jump to navigation
Jump to search
imported>Plastikspork (→See also: Remove per TfD) |
imported>Zyxw (note availability of Wikidata property, 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}} | ||
| − | + | {{Wikidata property|P2206}} | |
| − | |||
| − | |||
| − | |||
| − | + | This template displays an external link to [[Discogs]]' release of [[audio format]] (as opposed to {{tl|Discogs master}} which links to the master list of all releases of a given release), including "double-quotes" for singles and italics for everything else. | |
| + | |||
| + | == Usage == | ||
: <nowiki>{{Discogs release|RELEASE}}</nowiki> (for non-singles) | : <nowiki>{{Discogs release|RELEASE}}</nowiki> (for non-singles) | ||
: <nowiki>{{Discogs release|RELEASE|type=album OR single}}</nowiki> | : <nowiki>{{Discogs release|RELEASE|type=album OR single}}</nowiki> | ||
| Line 16: | Line 16: | ||
: <nowiki>{{Discogs release|release=RELEASE|name=WORKNAME|type=album OR single}}</nowiki> | : <nowiki>{{Discogs release|release=RELEASE|name=WORKNAME|type=album OR single}}</nowiki> | ||
| − | + | == Examples == | |
:;Album usage | :;Album usage | ||
: For ''[[Novus Magnificat]]'' at http://www.discogs.com/release/311591 you use: | : For ''[[Novus Magnificat]]'' at http://www.discogs.com/release/311591 you use: | ||
| Line 79: | Line 79: | ||
* {{tl|Discogs label}} | * {{tl|Discogs label}} | ||
| − | <includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
| − | <!-- | + | <!-- Categories go here and interwikis go in Wikidata. --> |
[[Category:Catalog lookup templates]] | [[Category:Catalog lookup templates]] | ||
| − | [[Category:Music external link templates | + | [[Category:Music external link templates]] |
| − | </includeonly> | + | }}</includeonly> |
Revision as of 16:31, 13 August 2018
| 40px | This is a documentation subpage for Template:Discogs release. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template displays an external link to Discogs' release of audio format (as opposed to {{Discogs master}} which links to the master list of all releases of a given release), including "double-quotes" for singles and italics for everything else.
Contents
Usage
- {{Discogs release|RELEASE}} (for non-singles)
- {{Discogs release|RELEASE|type=album OR single}}
- {{Discogs release|RELEASE|WORKNAME|type=album OR single}}
- {{Discogs release|RELEASE|name=WORKNAME|type=album OR single}}
- {{Discogs release|id=RELEASE|WORKNAME|type=album OR single}}
- {{Discogs release|id=RELEASE|name=WORKNAME|type=album OR single}}
- {{Discogs release|release=RELEASE|WORKNAME|type=album OR single}}
- {{Discogs release|release=RELEASE|name=WORKNAME|type=album OR single}}
Examples
- Album usage
- For Novus Magnificat at http://www.discogs.com/release/311591 you use:
- * {{Discogs release|311591|Novus Magnificat|type=album}}
- * {{Discogs release|id=311591|name=Novus Magnificat|type=album}} (canonically)
- * {{Discogs release|release=311591|name=Novus Magnificat|type=album}} (canonically)
- Single usage
- For "Love Me Do" at http://www.discogs.com/release/1789539 you use:
- * {{Discogs release|1789539|Love Me Do|type=single}}
- * {{Discogs release|id=1789539|name=Love Me Do|type=single}} (canonically)
- * {{Discogs release|release=1789539|name=Love Me Do|type=single}} (canonically)
- "Love Me Do" at Discogs
- "Love Me Do" at Discogs
- "Love Me Do" at Discogs
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Discogs release
Link to discogs' audio release (as opposed to master, which lists all releases of a given work)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Release | 1 id release | no description | Number | required |
| Name | 2 name | no description
| String | suggested |
| Type | type | Set to "single" (without the quotes) for a single
| Unknown | optional |
| Pure_url | pure_url | no description | Unknown | optional |
See also
- {{Discogs master}}
- {{Discogs artist}}
- {{Discogs label}}