မေႃႇၵျူး:Wikibase/doc
This module is a package of functions for accessing Wikidata properties which cannot be accessed with #property.
Code | Returns |
---|---|
{{#invoke:wikibase|capital}} |
name of the "capital" property as listed in the Wikidata item associated with the current page, displayed as a link |
{{#invoke:wikibase|commonslink}} |
name of the Wikimedia Commons category, as listed in the Wikidata item associated with the current page |
{{#invoke:wikibase|disambig}} |
true if the Wikidata item corresponds to a Wikipedia disambiguation pagefalse if it does not |
{{#invoke:wikibase|flag}} |
filename listed under the "flag" property in the Wikidata item associated with the current page |
{{#invoke:wikibase|id}} |
ID number of the Wikidata item associated with the current page |
{{#invoke:wikibase|idLink}} |
ID number of the Wikidata item associated with the current page, in the form of a link to that item |
{{#invoke:wikibase|label}} |
label of the Wikidata item associated with the current page |
{{#invoke:wikibase|latitude}} |
decimal latitude as listed in the Wikidata item associated with the current page |
{{#invoke:wikibase|longitude}} |
decimal longitude as listed in the Wikidata item associated with the current page |
{{#invoke:wikibase|page|Qxxxxx}} |
name of the local page associated with Wikidata item number Qxxxxx |
{{#invoke: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 |