Template:Q: Difference between revisions

From H&D Publishing Wiki
(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.

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