Gaa na ọdịnaya

Module:Wikidata/doc

Shí Wikipedia, njikotá édémédé nke onyobulạ
Mmeghari kemgbe 21:05, 20 Ọgọọst 2016 si n'aka Thayts (ṅkátá | mmetara)
(ndịịche) ← Orübà di kwa nke ichié | Orübà nke ubwa (ndịịche) | Orübà di kwa ohúrù → (ndịịche)

This is the documentation page for Module:Wikidata

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).