User:Jc3s5h/Date from Wikidata test cases

Parser function
From Wikidata


 * The simplest is to use the  parser function. For example, to get Madonna's date of birth you need to know the property number of "date of birth" which is P569. (You can find this by clicking the property on Wikidata.)
 * Placing the code  on the Madonna article will then return: "".

But this isn't the Madonna article, so that won't work here. So add the item number, which for Madonna is Q1744.

results in "".

Try an edge case, death date of Emperor Ai of Han:

results in "".

Module Wikidata
Module:Wikidata can be invoked directly in wiki source code. Using it for the Emperor Ai of Hah case:

gives

Trying to get more data about this date:

gives

Module WikidataIB
Using Emperor Ai of Hah again as an example,

gives

Help from RexxS:


 * For :  →
 * For :  →
 * For :  →
 * If you want to see how the data is actually stored on Wikidata:
 * In :  →