Template:Q

From H&D Publishing Wiki
Revision as of 11:48, 2 March 2022 by Karl (talk | contribs) (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>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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