Template:Q/docs: Difference between revisions

From H&D Publishing Wiki
(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:
{{Documentation subpage}}
 
<!-- 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Q-number of the Wikidata item, or P-number of the Wikidata property.

Example
Q5
Stringrequired
22

Link text. If not specified, the link text will be the label and the entity ID.

Example
human
Stringoptional