Template:Wikidata/doc/examples

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Examples

Parameters and output types Example Description
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P395 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[string]

{{{{{prename|}}}wikidata/doc|property|Q55|P395|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a literal string value.
P395 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[string]

{{{{{prename|}}}wikidata/doc|property|P395|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If the template is transcluded on the Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). page (which is linked to Q55), then the Q55 can be omitted.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P395 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[string]

{{{{{prename|}}}wikidata/doc|property|eid=Q55|P395|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
An entity-ID can also be given using the eid= argument.
P395 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[string]

{{{{{prename|}}}wikidata/doc|property|page=Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).|P395|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
A page title can be given instead of an entity-ID using the page= argument.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P395 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[string]

{{{{{prename|}}}wikidata/doc|property|edit|Q55|P395|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Adds a clickable icon that may be used to edit the returned value on Wikidata.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P395 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[string]

{{{{{prename|}}}wikidata/doc|property|edit@end|Q55|P395|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Places the edit icon at the end of the line.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|property|normal+|Q55|P1082|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a single property value from claims with a 'normal' rank or higher.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|properties|normal+|Q55|P1082|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets multiple property values from claims with a 'normal' rank or higher.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [time]

{{{{{prename|}}}wikidata/doc|properties|qualifier|normal+|Q55|P1082|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a single qualifier value for each claim, additional to the property value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [time], [reference]

{{{{{prename|}}}wikidata/doc|properties|qualifier|references|normal+|Q55|P1082|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets references for each claim.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [reference]

A total of {{{{{prename|}}}wikidata/doc|property|references|Q55|P1082|{{{extraparams|}}}}} people live in the Netherlands.

A total of Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). people live in the Netherlands.
Gets a property with its references.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [reference]

The Netherlands has a population of {{{{{prename|}}}wikidata/doc|property|references|Q55|P1082|punc=.|{{{extraparams|}}}}}

The Netherlands has a population of Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Adds a punctuation mark at the end of the output, in front of the references.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [time], [reference]

<ul>{{{{{prename|}}}wikidata/doc|properties|qualifier|references|normal+|Q55|P1082|P585|format=<li>%p[%r][<ul><li>%q</li></ul>]</li>|{{{extraparams|}}}}}</ul>

    Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Returns the output in a custom format.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[time]

{{{{{prename|}}}wikidata/doc|qualifier|normal+|Q55|P1082|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a single qualifier per claim, by default for multiple matching claims.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[time]

{{{{{prename|}}}wikidata/doc|qualifier|normal+|single|Q55|P1082|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
To get a single qualifier for only a single claim, give the single flag too so that only a single claim will be accessed.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[time]

{{{{{prename|}}}wikidata/doc|qualifier|Q55|P1082|Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a qualifier from claims for which the (raw) property value matches a given literal value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[time]

{{{{{prename|}}}wikidata/doc|qualifier|mdy|Q55|P1082|Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets dates in month-day-year order.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P585 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[time]

{{{{{prename|}}}wikidata/doc|qualifier|raw|Q55|P1082|Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).|P585|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a raw date value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[reference]

{{{{{prename|}}}wikidata/doc|references|Q55|P1082|Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets the references from a particular claim.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1082 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[reference]

{{{{{prename|}}}wikidata/doc|references|raw|Q55|P1082|Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets references from a particular claim in their raw form.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1081 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [reference]

{{{{{prename|}}}wikidata/doc|properties|references|normal+|Q55|P1081|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets properties from each claim with any references they have.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1081 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [reference]

{{{{{prename|}}}wikidata/doc|properties|references|normal+|sourced|Q55|P1081|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Only gets properties from claims that have at least one reference.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2855 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|qualifier|Q55|P2855|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a single qualifier value (for each matching claim).
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2855 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|qualifiers|Q55|P2855|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets multiple qualifier values (for each matching claim).
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2855 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [entity label]

{{{{{prename|}}}wikidata/doc|properties|qualifiers|Q55|P2855|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets multiple property values along with multiple qualifier values.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2855 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity], [entity label]

{{{{{prename|}}}wikidata/doc|properties|qualifiers|Q55|P2855|P518|sep=_+_|sep%s=|sep%q=_/_|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Returns the output with custom separators.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P35 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P580 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P582 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label], [time]

{{{{{prename|}}}wikidata/doc|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets two different qualifier values for each claim.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P35 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P580 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P582 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label], [time]

{{{{{prename|}}}wikidata/doc|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|sep%q=_–_|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Returns the output with a custom separator.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P35 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P580 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P582 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label], [time]

{{{{{prename|}}}wikidata/doc|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|format=%p[ <span style="font-size:85\%">(%q1[ – %q2])</span>][%s][%r]|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Returns the output in a custom format instead of with a custom separator.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P35 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P580 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P582 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label], [time]

{{{{{prename|}}}wikidata/doc|properties|qualifier|qualifier|normal+|Q55|P35|P580|P582|format=%p[ <span style="font-size:85\%">([<![]--%q2]since [%q2--[]>]%q1[ – %q2])</span>][%s][%r]|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
To add text only when a certain value is not present, like adding the word since if there is no end time, wrap it in between two optional blocks containing HTML comment tags and the relevant parameter (this also prevents the text from being added to the page source).
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P35 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", Q29574 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P580 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P582 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label], [time]

{{{{{prename|}}}wikidata/doc|properties|qualifier|raw|qualifier|normal+|Q55|P35|Q29574|P580|P582|format=%p[ <span style="font-size:85\%">(%q1[ – %q2])</span>][%s][%r]|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a property with qualifiers from claims for which the property matches a given Q-identifier, with one of the qualifier values in its raw form.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|qualifiers|normal+|current|Q55|P38|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets claims that are currently valid.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|linked|qualifiers|normal+|current|Q55|P38|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets claims with linked property values.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|qualifiers|linked|normal+|current|Q55|P38|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets claims with linked qualifier values.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|linked|short|qualifiers|linked|normal+|current|Q55|P38|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets claims with linked property and qualifier values, with short property values wherever available.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", Q4917 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|qualifiers|normal+|current|Q55|P38|Q4917|P518|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets qualifiers from claims for which the (raw) property value matches a given Q-identifier.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P518 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", Q27561 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|normal+|current|Q55|P38|P518=Q27561|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets properties from claims for which a (raw) qualifier value matches a given Q-identifier.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|normal+|former|Q55|P38|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets claims that were valid in the past.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|raw|normal+|former|Q55|P38|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets raw property values.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|properties|raw|linked|normal+|former|Q55|P38|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets raw property values that are linked to Wikidata.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1549 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[monolingual text]

{{{{{prename|}}}wikidata/doc|property|Q55|P1549|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a monolingual text value in the current wiki's language.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P1549 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P407 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", Q36846 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[monolingual text]

{{{{{prename|}}}wikidata/doc|property|multilanguage|Q55|P1549|P407=Q36846|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a monolingual text value in any available language.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2884 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|property|Q55|P2884|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a quantity value with its associated unit of measurement.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2884 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|property|linked|Q55|P2884|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a quantity value with a linked unit of measurement.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2884 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|property|raw|Q55|P2884|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a raw quantity value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2884 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|property|unit|Q55|P2884|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets only the unit of measurement.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2884 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[quantity]

{{{{{prename|}}}wikidata/doc|property|unit|raw|Q55|P2884|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets the raw unit of measurement.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P625 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[globe coordinate]

{{{{{prename|}}}wikidata/doc|property|Q55|P625|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a globe coordinate value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P625 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[globe coordinate]

{{{{{prename|}}}wikidata/doc|property|linked|Q55|P625|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a linked globe coordinate value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P625 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[globe coordinate]

{{{{{prename|}}}wikidata/doc|property|raw|Q55|P625|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a raw globe coordinate value.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P625 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[globe coordinate]

{{{{{prename|}}}wikidata/doc|property|Q55|coord|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
A property alias can be used instead of the P-identifier.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P41 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[commons media]

{{{{{prename|}}}wikidata/doc|property|linked|Q55|P41|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a media file name and links to it on Commons.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P41 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[commons media]

{{{{{prename|}}}wikidata/doc|property|raw|Q55|P41|format=\[\[File:%p {{!}} thumb {{!}} left\]\]|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
A Commons media file can be included on the page as-is by omitting the linked and raw flags, but by using the raw flag it can be freely formatted.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P41 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[commons media]

{{{{{prename|}}}wikidata/doc|property|raw|date=1700-05-06|Q55|P41|format=\[\[File:%p {{!}} thumb {{!}} left\]\]|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
To get the value of a property that was valid at a given time, the date= argument can be used.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P41 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[commons media]

{{{{{prename|}}}wikidata/doc|property|raw|date=1700-05-06|former|Q55|P41|format=\[\[File:%p {{!}} thumb {{!}} left\]\]|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
The time constraint flags work relatively to the date value given for the date= argument.
Q915684 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P2534 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[math]

{{{{{prename|}}}wikidata/doc|property|Q915684|P2534|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a mathematical expression.
Q915684 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P7235 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P9758 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label], [math]

<ul>{{{{{prename|}}}wikidata/doc|properties|qualifier|linked|Q915684|P7235|P9758|format=<li>%q[ (%p)]</li>|{{{extraparams|}}}}}</ul>

    Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Mathematical expressions can be combined with regular text as usual.
Q6256 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P3896 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[geographic shape]

{{{{{prename|}}}wikidata/doc|property|linked|Q6256|P3896|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a geographic shape data file name and links to it on Commons.
Q4917 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|label|Q4917|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets an item's label.
Q4917 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|label|short|linked|Q4917|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets an item's short and linked label.
P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|label|P38|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a property's label.
P38 = Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|label|linked|P38|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a property's label that is linked to Wikidata.
Q776 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|label|Q776|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets an item's label.
Q776 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity label]

{{{{{prename|}}}wikidata/doc|label|linked|Q776|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets an item's linked label.


[entity label]

{{{{{prename|}}}wikidata/doc|label|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If the template is transcluded on the Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). page (which is linked to Q776), then the Q776 can be omitted.


[entity label]

{{{{{prename|}}}wikidata/doc|label|raw|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If just the label command with the raw flag is given, then the Q-identifier of the item connected to the current page is returned.


[entity label]

{{{{{prename|}}}wikidata/doc|label|raw|linked|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If additionally the linked flag is given, then the Q-identifier of the item connected to the current page is linked to Wikidata.
Q776 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[page title]

{{{{{prename|}}}wikidata/doc|title|Q776|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets the title of the page on the current wiki that is linked to the given item.
Q776 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[page title]

{{{{{prename|}}}wikidata/doc|title|linked|Q776|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets the linked title of the page on the current wiki that is linked to the given item.


[page title]

{{{{{prename|}}}wikidata/doc|title|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If the template is transcluded on the Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). page (which is linked to Q776), then the Q776 can be omitted.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity description]

{{{{{prename|}}}wikidata/doc|description|Q55|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets an item's description.


[entity description]

{{{{{prename|}}}wikidata/doc|description|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If the template is transcluded on the Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). page (which is linked to Q55), then the Q55 can be omitted.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity alias]

{{{{{prename|}}}wikidata/doc|alias|Q55|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets one of an item's aliases.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity alias]

{{{{{prename|}}}wikidata/doc|aliases|Q55|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets all of an item's aliases.
Q55 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[entity alias]

{{{{{prename|}}}wikidata/doc|alias|linked|Q55|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets a linked alias from an item.


[entity alias]

{{{{{prename|}}}wikidata/doc|alias|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If the template is transcluded on the Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). page (which is linked to Q55), then the Q55 can be omitted.
Q2 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[page badge]

{{{{{prename|}}}wikidata/doc|badges|Q2|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets the badges for the page on the current wiki that is linked to the given item.
Q2 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value)."

[page badge]

{{{{{prename|}}}wikidata/doc|badges|raw|Q2|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Gets the raw badges for the page on the current wiki that is linked to the given item.


[page badge]

{{{{{prename|}}}wikidata/doc|badges|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
If the template is transcluded on the Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). page (which is linked to Q2), then the Q2 can be omitted.
Q28865 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P548 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).", P348 = "Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).",

[version], [reference]

{{{{{prename|}}}wikidata/doc|property|reference|edit|Q28865|P548=Q2804309|P348|{{{extraparams|}}}}}

Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
Get Python's latest stable release version with its references. You may want to use P548=Q2122918 to get the latest preview release version.

Example references

[edit source]