Template:QID/sandbox
Appearance
This is the template sandbox page for Template:QID (diff). See also the companion subpage for test cases. |
Usage
[edit]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.
Parameters
[edit]The first parameter should be the QID node ID (alternatively given as |qid=
.
- Example 1:
- {{QID|56672530}}
- will result in
- Example 2:
- {{QID|qid=56672530}}
- will result in
- Example 3 (up to 9 parameters - do not use
|qid=
at the same time):
- {{QID|56672530|56672530}}
- will result in
See also
[edit]- {{Q|<QID>}}
- {{Get QID|<Wikipedia page title>}}
- {{Catalog lookup link}}