"ढाँचा:Birth year and age/कागजात" का संशोधनहरू बिचको अन्तर

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट
Content deleted Content added
new template
→‎See also: Updated "See also" section
पङ्क्ति ४६: पङ्क्ति ४६:


==See also==
==See also==
*[[Wikipedia:Age calculation templates]]
*{{tl|AgeDobDOD}} includes all the below
*{{tl|BirthDeathAge}} – carries out the functions of this template and all the following ones
*{{tl|Birth date}}
*{{tl|Birth date}}
*{{tl|Birth date and age}}
*{{tl|Birth date and age}} – same as {{tl|Birth date}}, except that "(age ##)" appears after the death date
*{{tl|Death date}}
*{{tl|Death date}}
*{{tl|Death date and age}}
*{{tl|Death date and age}} – same as {{tl|Death date}}, except that "(aged ##)" appears after the death date
*{{tl|Death year and age}} – year of death and approximate age at death


<includeonly>
<includeonly>

२१:०९, १३ मार्च २००८ जस्तै गरी पुनरावलोकन


Usage

The templates {{Birth year and age}} and {{Death year and age}} return a person's year of birth or death and his or her approximate age. The templates are useful when only the year 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.

The person's age is estimated as follows:

  1. that the person in question was born some time in 1950; and
  2. that the present date is 1 July 2005.
If the person was born after 1 July 1950, then she will be 54 years old on 1 July 2005 as she has not had her 55th birthday yet. On the other hand, if she was born exactly on or before 1 July 1950, then the person will be 55 years old. Therefore, the template renders her birth year and age as "1950 (age 54–55)".
  1. that the person in question was born some time in 1950; and
  2. that he died some time in 2000.
We can posit two extremes: (1) that the person was born on 31 December 1950 and died on 1 January 2000, in which case he would have been 49 years old at the time of his death as he did not achieve his 50th birthday on 31 December 2000; and (2) that he was born on 1 January 1950 and died on 31 December 2000, in which case he would have been 50 years old at the time of his death as he had his 50th birthday on 1 January 2000. Therefore, the template renders his death year and age as "2000 (age 49–50)".

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

Note: Do not use this template inside the Wikipedia:Persondata template as it can interfere with data extraction.

Syntax

{{Birth year and age|[year of birth]}}
{{Death year and age|[year of death]|[year of birth]}}

Examples

Template text Result
{{Birth year and age|1950}}
(assuming current year is 2005)
1950 (age 54–55)
{{Death year and age|2000|1950}} 2000 (aged 49–50)

See also