Template:QID
This template returns localized link to a particular Wikidata item. {{QID|Q1}}
gives Universe (Q1)
Usage
{{QID |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 item | item ID | Item ID (aka. Q-code) number in form "Q" + item number, or just a number | empty | required |
2 lang | 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
|
|
Related property
{{Label}}
{{Data}}
{{WikidataItem}}
This template display a link to a particular Wikidata item.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item ID | 1 Item ID Item number Q number Wikidata item Wikidata item Q code number | Number of the Wikidata item you want to show, without the preceding Q
| String | required |
Language | 2 lang language | Language code – only needs to be provided if the language displayed is to be fixed and independent of the user's preferences
| String | optional |
lang | lang | no description | Unknown | 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)
| String | optional |