Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:Birth year and age





Template  

Talk  



Language  

Watch  

View source  





Usage

The templates {{Birth year and age}} and {{Death year and age}} return a person's year of birth or death and their approximate age. The templates are useful when only the year, or year and month, of a person's birth and/or death are known, or if it is desired not to state a person's full dates of birth and death for privacy reasons.

Such an approximation differs from the approximation generated by {{Birth based on age as of date}}; the latter can be used when the only detail available about someone's birth is a reference that establishes their age as of a certain date (such as the date that the reference was published).

The examples on this page use the current date as
7 July 2024

The person's age is estimated as follows:

{{Birth year and age}}

Let us assume:

  1. that the person in question was born some time in 1969; and
  2. that the present date is 7 July 2024.

{{Death year and age}}

Let us assume:

  1. that the person in question was born some time in 1973; and
  2. that they died some time in 2023.
Therefore, the template {{Death year and age|2023|1973}}
renders their death year and age as: 2023 (aged 49–50)
Using the above examples and assuming the month is 07 (July)
Therefore, the template {{Death year and age|2023|1973|07}}
displays their death year and age as: July 2023 (aged 49–50)

If you wish to set out the full dates of birth and/or death of a person and thus to calculate their age accurately, please use the templates {{Birth date and age}} and {{Death date and age}}.

Syntax

{{Birth year and age|year of birth}}
{{Birth year and age|year of birth|optional number of month of birth}}
{{Death year and age|year of death|year of birth}}
{{Death year and age|year of death|year of birth|optional number of month of death}}

Examples


TemplateData

Returns a person's year of birth and their approximate age

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Year of birth1

no description

Numberrequired
Month of birth2

Optional month of birth

Numbersuggested

Tracking categories

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Birth_year_and_age&oldid=952644429"
 



Last edited on 23 April 2020, at 09:47  


Languages

 


Afrikaans
العربية
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Беларуская (тарашкевіца)

Bosanski
Català
Cebuano
ChiTumbuka
Dansk
Ελληνικά
Español
فارسی
Føroyskt
Français
Gàidhlig


Հայերեն
Bahasa Hulontalo
Bahasa Indonesia
IsiZulu

Kurdî
Magyar
ि
Македонски


مصرى
Bahasa Melayu
Minangkabau



Norsk bokmål
Norsk nynorsk
ି
Oʻzbekcha / ўзбекча

Română
Русский
Scots
Simple English
سنڌي
Slovenščina
Soomaaliga
کوردی
Srpskohrvatski / српскохрватски
Sunda
Suomi
Svenska
Tagalog
ி
 


Тоҷикӣ
Türkçe
اردو
Tiếng Vit


 
 

Wikipedia


This page was last edited on 23 April 2020, at 09:47 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop