Template:Birth date and age: Difference between revisions

From Destiny Wiki
Jump to navigation Jump to search
(Template created)
 
(see if this works)
 
Line 1: Line 1:
<includeonly>{{{{{|safesubst:}}}#invoke:age|birth_date_and_age}}{{#invoke:Check for unknown parameters|check|ignoreblank=y|preview=Page using [[Template:Birth date and age]] with unknown parameter "_VALUE_"|unknown={{main other|[[Category:Pages using birth date and age template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|1|2|3|day|month|year|df|mf}}{{#ifeq: {{NAMESPACENUMBER}} | 0
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>)</span><span class="noprint"> (age&nbsp;{{age | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }})</span></includeonly><noinclude>
| {{#if: {{#invoke:wd|label|raw}}
{{documentation}}
  | {{#if: {{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}}
</noinclude>
    | {{#if: {{#invoke:wd|properties|raw|P569}}
      |
      | [[Category:Date of birth not in Wikidata]]
      }}
    }}
  | [[Category:Articles without Wikidata item]]
  }}
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 02:55, 25 March 2024