模板:QID
用法
编辑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}}
- 显示为
- 范例2:
- {{QID|qid=56672530}}
- 显示为
- 范例3 (最多使用9个参数 - 不要同时使用参数
|qid=
):
- {{QID|56672530|56672530}}
- 显示为
另请参见
编辑- {{Q}}
- {{Catalog lookup link}}
上述文档嵌入自Template:QID/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |