Template:Birth date: Difference between revisions
update tracking to use Module:Wd and not the unmaintained and deprecated Module:Wikidata
(Add Wikidata tracking categories. Tested with /sandbox, /testcases, and articles. Same as previously tested and working in templates {{Birth-date}} and {{Birth year and age}}.) |
(update tracking to use Module:Wd and not the unmaintained and deprecated Module:Wikidata) |
||
Line 11: | Line 11: | ||
|  {{error|invalid day}}{{main other|[[Category:Pages using age template with invalid date]]}}|}} | |  {{error|invalid day}}{{main other|[[Category:Pages using age template with invalid date]]}}|}} | ||
}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | }}{{#ifeq: {{NAMESPACENUMBER}} | 0 | ||
| {{#if: {{#invoke: | | {{#if: {{#invoke:wd|label|raw}} | ||
| {{#if: {{#invoke:String|match|{{#invoke: | | {{#if: {{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}} | ||
| {{#if: {{# | | {{#if: {{#invoke:wd|properties|raw|P569}} | ||
| | | | ||
| [[Category:Date of birth not in Wikidata]] | | [[Category:Date of birth not in Wikidata]] |