Home
Random
Log in
Settings
About Catpedia
Catpedia
Search
Editing
Template:Birth year and age
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
The edit appears to have already been undone.
Anti-spam check. Do
not
fill this in!
<includeonly>{{#if:{{{2|}}} |{{MONTHNAME|{{{2}}}}} }}{{{1}}} (age {{#if:{{{2|}}} |{{#ifexpr:{{CURRENTMONTH}}<{{{2}}} |{{#expr:{{CURRENTYEAR}}-{{{1}}}-1}} |{{#ifexpr:{{CURRENTMONTH}}>{{{2}}} |{{#expr:{{CURRENTYEAR}}-{{{1}}}}} |{{#expr:{{CURRENTYEAR}}-{{{1}}}-1}}–{{#expr:{{CURRENTYEAR}}-{{{1}}}}} }} }} |{{#expr:{{CURRENTYEAR}}-{{{1}}}-1}}–{{#expr:{{CURRENTYEAR}}-{{{1}}}}} }})<!-- Error checks: -->{{#ifexpr: ( {{{1}}} > {{CURRENTYEAR}} ) OR ( {{CURRENTYEAR}} - {{{1}}} > 150 ) |  {{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}} }}{{#if:{{{2|}}}|{{#ifexpr: ( {{{2}}} > 12 ) OR ( {{{2}}} < 1 ) |  {{error|invalid month}}{{main other|[[Category:Pages using age template with invalid date]]}}|}} }}{{#invoke:Check for unknown parameters|check|ignoreblank=y|preview=Page using [[Template:Birth year and age]] with unknown parameter "_VALUE_"|unknown={{main other|[[Category:Pages using birth year and age template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|1|2}}{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{#invoke:wd|label|raw}} | {{#if: {{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}} | {{#if: {{#invoke:wd|properties|raw|P569}} | | [[Category:Date of birth not in Wikidata]] }} }} | [[Category:Articles without Wikidata item]] }} }}</includeonly><noinclude> {{Documentation}} </noinclude>
Summary:
Please note that all contributions to Catpedia are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Catpedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Documentation
(
edit
)