Template:Discogs release

出自維基百科,自由嘅百科全書
模解[] [] [] []

呢個模包含最少一個可選參數:用之前唔該睇下討論頁


呢個模用咗一啲好複雜嘅語法同好多秘技。響你明嗮佢嘅用途同構造之前,千祈唔好喐佢。亦都要有心理準備要補返嗮改錯咗嘅地方。所有實驗都唔該喺沙盤模,或者你個用戶頁入面搞。

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.

用法[編輯]

{{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}}

If no release ID is provided, then the first value from Wikidata will be used. If the Wikidata item does not have any Discogs release ID (P2206) data, then the template will not output any text.

[編輯]

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)

模數據[編輯]

呢個係用喺呢個模嘅TemplateData解,用喺VisualEditor同埋其它工具度;睇吓呢個模嘅每月錯誤報告

TemplateData for Discogs release嘅TemplateData

Link to discogs' audio release (as opposed to master, which lists all releases of a given work)

模參數[管理TemplateData]

參數描述狀態
Release1 id release

無描述

數字必填
Name2 name

無描述

預設
{{PAGENAME}}
字串建議
typetype

Set to "single" (without the quotes) for a single

範例
single
唔知可選
pure_urlpure_url

無描述

唔知可選

睇埋[編輯]