Module:Wy/si/Wikibase/උපදෙස්
Appearance
This module is a package of functions for accessing Wikidata properties which cannot be accessed with #property.
Code | Returns |
---|---|
{{#invoke:Wy/si/Wikibase|capital}}
|
name of the "capital" property as listed in the Wikidata item associated with the current page, displayed as a link |
{{#invoke:Wy/si/Wikibase|commonslink}}
|
name of the Wikimedia Commons category, as listed in the Wikidata item associated with the current page |
{{#invoke:Wy/si/Wikibase|disambig}}
|
true if the Wikidata item corresponds to a Wikipedia disambiguation pagefalse if it does not
|
{{#invoke:Wy/si/Wikibase|flag}}
|
filename listed under the "flag" property in the Wikidata item associated with the current page |
{{#invoke:Wy/si/Wikibase|id}}
|
ID number of the Wikidata item associated with the current page |
{{#invoke:Wy/si/Wikibase|idLink}}
|
ID number of the Wikidata item associated with the current page, in the form of a link to that item |
{{#invoke:Wy/si/Wikibase|label}}
|
label of the Wikidata item associated with the current page |
{{#invoke:Wy/si/Wikibase|latitude}}
|
decimal latitude as listed in the Wikidata item associated with the current page |
{{#invoke:Wy/si/Wikibase|longitude}}
|
decimal longitude as listed in the Wikidata item associated with the current page |
{{#invoke:Wy/si/Wikibase|page|Qxxxxx}}
|
name of the local page associated with Wikidata item number Qxxxxx |
{{#invoke:Wy/si/Wikibase|sitelink|enwiki}}
|
name of the English Wikipedia page name, as listed in the Wikidata item associated with the current pageenwiki can be replaced with other language codes to obtain corresponding page names for Wikipedia or Wikivoyage in other languages
|