Difference between revisions of "Template:Birth date"

From The League Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
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:Wikidata|pageId}}
+
| {{#if: {{#invoke:wd|label|raw}}
   | {{#if: {{#invoke:String|match|{{#invoke:Wikidata|getPropertyIDs|P31|FETCH_WIKIDATA}},|Q5,|1|1|true|}}
+
   | {{#if: {{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}}
     | {{#if: {{#property:P569}}
+
     | {{#if: {{#invoke:wd|properties|raw|P569}}
 
       |
 
       |
 
       | [[Category:Date of birth not in Wikidata]]
 
       | [[Category:Date of birth not in Wikidata]]

Latest revision as of 03:04, 20 July 2020

({{{year}}}-Expression error: Unrecognized punctuation character "{".-{{{day}}})January 1, 1900