* a call (getValue) that allows the calling script to retrieve the wiki-linked value(s) for any property from Wikidata by supplying the property ID as the first parameter.
* a call (getRawValue) that allows the calling script to retrieve the non-linked value(s) for any property from Wikidata by supplying the property ID as the first parameter.
* a call (getDateValue) that allows the calling script to retrieve the date value(s) for any property from Wikidata by supplying the property ID as the first parameter. ItDefault allowsdate specifyingformat thatis the[day datemonth year]; an optional third parameter can be returnedadded infor dmyother ordate mdyformats: formatfor by[month supplyingday, year], add "dmymdy"; orfor [month year], add "mdymy"; asfor anyear optionalonly, thirdadd parameter"y".
For each of these, Wikidata qualifier values (if present) can be retrieved by using getQualifierValue, getRawQualifierValue, or getQualifierDateValue.
If the property is not defined in Wikidata for the article that invokes this code, then an empty string ("") is returned.
== Parameters ==
* For the generalisedgeneralized linked case (getValue), two unnamed parameters are supplied. The first is the ID of the property that is to be retrieved (e.g. p19 for birthplace or p26 for spouse). The second may be null, "FETCH_WIKIDATA", or any other string, which becomes the returned value.
* For the generalisedgeneralized unlinked case (getRawValue), two unnamed parameters are supplied. The first is the ID of the property that is to be retrieved (e.g. p21 for gender). The second may be null, "FETCH_WIKIDATA", or any other string, which becomes the returned value.
* For the generalisedgeneralized date case (getDateValue), three unnamed parameters are supplied. The first is the ID of the property that is to be retrieved (e.g. p569 for date of birth). The second may be null, "FETCH_WIKIDATA", or any other string, which becomes the returned value. The third is the format that the date should be returned in, either dmy, mdy, my, or mdyy.
== Usage ==
|