跳至內容

模板:QID/doc

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

用法

[編輯]

This template frames Wikidata item IDs (QIDs) for usage inside the |id= parameter in the various {{citation}} and {{cite xxx}} templates, or elsewhere. At present it just allows the QID node to be given in some documented way and links to both the corresponding external resource at Wikidata and the Wikidata article in Wikipedia in order to provide some explanation. It thereby helps to frame the code in some machine readable form and to standardize the appearance.

The template could be expanded to make the given code available as meta-data or to provide some error checking.

模板參數

[編輯]

第一個參數是QID的不帶Q前綴的數字標識符(或者使用|qid=

  • 範例1:
{{QID|56672530}}
顯示為
QID 56672530
  • 範例2:
{{QID|qid=56672530}}
顯示為
QID 56672530
  • 範例3 (最多使用9個參數 - 不要同時使用參數 |qid=):
{{QID|56672530|56672530}}
顯示為
QID 5667253056672530

另請參見

[編輯]