Difference between revisions of "Template:Birth-date/sandbox"
Jump to navigation
Jump to search
Template documentation[create]
imported>Zyxw (copy of current template) |
imported>Zyxw (update Wikidata tracking) |
||
| 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.}}}}{{#if:{{{df|}}}|[[Category:Birth-date transclusions with invalid parameters]]}}{{# | + | }}|Did not recognize date. Try slightly modifying the date in the first parameter.}}}}{{#if:{{{df|}}}|[[Category:Birth-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:P569}} | ||
| + | | | ||
| + | | [[Category:Date of birth not in Wikidata]] | ||
| + | }} | ||
| + | }} | ||
| + | | [[Category:Articles without Wikidata item]] | ||
| + | }} | ||
| + | }}<noinclude> | ||
{{Documentation|Template:Start-date/doc}} | {{Documentation|Template:Start-date/doc}} | ||
</noinclude> | </noinclude> | ||
Revision as of 04:12, 19 January 2019
| This is the template sandbox page for Template:Birth-date (diff). See also the companion subpage for test cases. |
| Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |