Template:Birth-date: Difference between revisions
m
use Module:Check for unknown parameters
(update Wikidata tracking, tested with /sandbox and articles) |
|||
Line 6: | Line 6: | ||
|class=dtstart | |class=dtstart | ||
|test={{{test|}}} | |test={{{test|}}} | ||
}}|Did not recognize date. Try slightly modifying the date in the first parameter.}}}}{{# | }}|Did not recognize date. Try slightly modifying the date in the first parameter.}}}}{{#invoke:check for unknown parameters|check|unknown=[[Category:Birth-date transclusions with invalid parameters|_VALUE_]]|preview=unknown parameter "_VALUE_"|1|2|ISO8601|dt|display|timezone|tz|BCE|BC|class-extra|test}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | ||
| {{#if: {{#invoke:Wikidata|pageId}} | | {{#if: {{#invoke:Wikidata|pageId}} | ||
| {{#if: {{#invoke:String|match|{{#invoke:Wikidata|getPropertyIDs|P31|FETCH_WIKIDATA}},|Q5,|1|1|true|}} | | {{#if: {{#invoke:String|match|{{#invoke:Wikidata|getPropertyIDs|P31|FETCH_WIKIDATA}},|Q5,|1|1|true|}} |