Template:Qx
Appearance
This template returns localized link to a particular Wikidata item. {{Qx|Q1}} gives universe
Usage
{{Q |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1item | item ID | Item ID (aka. Q-code) number in form "Q" + item number, or just a number | empty | required |
2lang | language | Language code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences). | empty | optional |
capitalization | capitalization | can 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 | none | optional |
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