Template:Q: Difference between revisions
(Created page with "<includeonly>{{#switch:{{str left|{{{1|}}}|1}} | Q | P = [[d:Special:EntityPage/{{{1|}}}|{{{2|{{label|{{{1|}}}}}}}} <small>({{{1|}}})</small>]] | [[d:Special:EntityPage/Q{{{1|}}}|{{{2|{{label|Q{{{1|}}}}}}}} <small>(Q{{{1|}}})</small>]] }}</includeonly> <noinclude> {{/docs}} </noinclude>") |
(No difference)
|
Latest revision as of 11:48, 2 March 2022
This template links to a Wikidata entity page (item or property), and displays its label and entity ID.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Q-number of the Wikidata item, or P-number of the Wikidata property.
| String | required |
2 | 2 | Link text. If not specified, the link text will be the label and the entity ID.
| String | optional |