Difference between revisions of "Template:Death-date"
Jump to navigation
Jump to search
imported>Zyxw (update Wikidata tracking) |
imported>Zyxw (update Wikidata tracking, tested with /sandbox and articles) |
||
| Line 6: | Line 6: | ||
|class=dtend | |class=dtend | ||
|test={{{test|}}} | |test={{{test|}}} | ||
| − | }}|Did not recognize date. Try slightly modifying the date in the first parameter.}}}}{{#if:{{{df|}}}|[[Category:Death-date transclusions with invalid parameters]]}}{{# | + | }}|Did not recognize date. Try slightly modifying the date in the first parameter.}}}}{{#if:{{{df|}}}|[[Category:Death-date transclusions with invalid parameters]]}}{{#ifeq: {{NAMESPACENUMBER}} | 0 |
| + | | {{#if: {{#invoke:Wikidata|pageId}} | ||
| + | | {{#if: {{#invoke:String|match|{{#invoke:Wikidata|getPropertyIDs|P31|FETCH_WIKIDATA}},|Q5,|1|1|true|}} | ||
| + | | {{#if: {{#property:P570}} | ||
| + | | | ||
| + | | [[Category:Date of death not in Wikidata]] | ||
| + | }} | ||
| + | }} | ||
| + | | [[Category:Articles without Wikidata item]] | ||
| + | }} | ||
| + | }}<noinclude> | ||
{{Documentation|Template:Start-date/doc}} | {{Documentation|Template:Start-date/doc}} | ||
</noinclude> | </noinclude> | ||