Module:Sandbox/RexxS/WdRefs/doc
![]() | This is a documentation subpage for Module:Sandbox/RexxS/WdRefs. It may contain usage information, categories and other content that is not part of the original module page. |
Test module to retrieve all claims from Wikidata, then display them in a table. It shows: any qualifiers; any references and the source of the reference
Usage
Paste:
{{#invoke:Sandbox/RexxS/WdRefs|seeRefs}}
into an article and preview it. There is an expensive version which allows access to any article from anywhere by giving the article's Wikidata id:
{{#invoke:Sandbox/RexxS/WdRefs|seeRefs|qid=<qid>}}
where <qid> would be Q151973 for Richard Burton, for example, giving {{#invoke:Sandbox/RexxS/WdRefs|seeRefs|qid=Q151973}}
See Module talk:Sandbox/RexxS/WdRefs for a couple of examples.
Limitations
It doesn't pick apart multiple instances of dates, so if somebody has two dates of death, it won't deal properly with second one. Best not to trust it on Jon Snow.