Module:Wikidata/doc
Ọdịdị
This is the documentation page for Module:Wikidata
![]() | This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
This module is intended to fetch data from Wikidata without any markup. Nothing more, nothing less.
The module is under development and is not yet complete: it currently only returns strings and quantities. It is also not possible to distinguish between claim ranks yet.
Methods
property
- Returns the requested property or list of properties from the given item.
qualifier
- Returns the requested qualifier or list of qualifier from the given property of the given item.
label
- Returns the label of the given item.
Parameters
property | [item_number] | property_number
item_number
(optional)
Q-identifier of the item to be accessed (e.g. Q123).
If this parameter is omitted, then the item connected to the current page will be used.property_number
P-identifier of the property to be accessed (e.g. P543).