跳转到内容

Template: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

另請參見

[编辑]