Template:Q/docs: Difference between revisions
(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> <templatedata> { "description": "This template links to a Wikidata entity page (item or property), and displays its label and entity ID.", "format": "inline", "params": { "1": { "description": "Q-number of the Wikidata item, or P-number of the Wikidata property.", "example": "Q5", "type": "string", "required": true }, "2": { "description": "L...") |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
<templatedata> | <templatedata> |
Latest revision as of 10: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 |