Jump to content

Template:Qx/doc

From Wikispecies

This template returns localized link to a particular Wikidata item. {{Qx|Q1}} gives universe

Usage

{{Q |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1
item
item IDItem ID (aka. Q-code) number in form "Q" + item number, or just a numberemptyrequired
2
lang
languageLanguage code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences).emptyoptional
capitalizationcapitalizationcan be:
uc: upper case
lc: lower case
ucfirst: upper case for the first letter
lcfirst: lower case for the first letter
none: to leave it as is
noneoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Relies on:
{{Label}} and Module:Wikidata label

Example

See also

{{Q}}
{{Q|1043}} gives:
Carl Linnaeus (Q1043)
{{Qn}}
{{Qn|1043}} gives:
Q1043
{{Qx}}
{{Qx|1043}} gives:
Carl Linnaeus
{{Q+}}
{{Q+|1043}} gives:
Carl Linnaeus (Q1043): Script error: The function "getDescription" does not exist.
{{P}}
{{P|496}} gives:
P496