"ढाँचा:Birth year and age/कागजात" का संशोधनहरू बिचको अन्तर
Content deleted Content added
कुनै सम्पादन सारांश छैन |
सा →Usage: Corrected grammar |
||
पङ्क्ति २१: | पङ्क्ति २१: | ||
#that the present date is [[{{CURRENTDAY}} {{CURRENTMONTHNAME}}]] [[{{CURRENTYEAR}}]]. |
#that the present date is [[{{CURRENTDAY}} {{CURRENTMONTHNAME}}]] [[{{CURRENTYEAR}}]]. |
||
::If the person was born after [[{{CURRENTDAY}} {{CURRENTMONTHNAME}}]], [[{{#expr: {{CURRENTYEAR}} - 55}}]] then |
::If the person was born after [[{{CURRENTDAY}} {{CURRENTMONTHNAME}}]], [[{{#expr: {{CURRENTYEAR}} - 55}}]] then she will be {{age|{{#expr: {{CURRENTYEAR}} - 55}}|{{CURRENTMONTH}}|{{#expr: {{CURRENTDAY}} + 1 }} }} years old on [[{{CURRENTDAY}} {{CURRENTMONTHNAME}}]] [[{{CURRENTYEAR}}]] as they have not had their 55th birthday yet. On the other hand, if she was born exactly on or before [[{{CURRENTDAY}} {{CURRENTMONTHNAME}}]], [[{{#expr: {{CURRENTYEAR}} - 55}}]], then she will be 55 years old. |
||
:::Therefore, the template {{tlx|Birth year and age|{{#expr: {{CURRENTYEAR}} - 55}} }} |
:::Therefore, the template {{tlx|Birth year and age|{{#expr: {{CURRENTYEAR}} - 55}} }} |
||
:::displays |
:::displays her birth year and age as: {{birth year and age|{{#expr: {{CURRENTYEAR}} - 55}}}} |
||
:*Optionally if we know the |
:*Optionally if we know the person's birth month but not day, we can also have the template display the month. |
||
::Using the above examples and assuming the month is {{CURRENTMONTH}} ({{CURRENTMONTHNAME}}) |
::Using the above examples and assuming the month is {{CURRENTMONTH}} ({{CURRENTMONTHNAME}}) |
||
:::Therefore, the template {{tlx|Birth year and age|{{#expr: {{CURRENTYEAR}} - 55}}|{{CURRENTMONTH}} }} |
:::Therefore, the template {{tlx|Birth year and age|{{#expr: {{CURRENTYEAR}} - 55}}|{{CURRENTMONTH}} }} |
||
:::displays |
:::displays her birth year and age as: {{birth year and age|{{#expr: {{CURRENTYEAR}} - 55}}|{{CURRENTMONTH}}}} |
||
*{{tl|Death year and age}} – let us assume: |
*{{tl|Death year and age}} – let us assume: |
||
पङ्क्ति ३६: | पङ्क्ति ३६: | ||
#that he died some time in {{#expr: {{CURRENTYEAR}} - 1}}. |
#that he died some time in {{#expr: {{CURRENTYEAR}} - 1}}. |
||
::We can posit as two extremes: (1) that the person was born on [[31 December]] [[{{#expr: {{CURRENTYEAR}} - 51}}]] and died on [[1 January]] [[{{#expr: {{CURRENTYEAR}} - 1}}]], in which case |
::We can posit as two extremes: (1) that the person was born on [[31 December]] [[{{#expr: {{CURRENTYEAR}} - 51}}]] and died on [[1 January]] [[{{#expr: {{CURRENTYEAR}} - 1}}]], 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]] [[{{#expr: {{CURRENTYEAR}} - 1}}]]; and (2) that he was born on [[1 January]] [[{{#expr: {{CURRENTYEAR}} - 51}}]] and died on [[31 December]] [[{{#expr: {{CURRENTYEAR}} - 1}}]], 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]] [[{{#expr: {{CURRENTYEAR}} - 1}}]]. |
||
:::Therefore, the template {{tlx|Death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}} }} |
:::Therefore, the template {{tlx|Death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}} }} |
||
:::renders his death year and age as: {{death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}}} |
:::renders his death year and age as: {{death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}}} |
||
:*Optionally if we know |
:*Optionally if we know month of the person's death but not the day, we can also have the template display the month. |
||
::Using the above examples and assuming the month is {{CURRENTMONTH}} ({{CURRENTMONTHNAME}}) |
::Using the above examples and assuming the month is {{CURRENTMONTH}} ({{CURRENTMONTHNAME}}) |
||
:::Therefore, the template {{tlx|Death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}|{{CURRENTMONTH}} }} |
:::Therefore, the template {{tlx|Death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}|{{CURRENTMONTH}} }} |
||
:::displays |
:::displays his death year and age as: {{death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}|{{CURRENTMONTH}}}} |
||
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 {{tl|Birth date and age}} and {{tl|Death date and age}}. |
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 {{tl|Birth date and age}} and {{tl|Death date and age}}. |
१९:०७, २ सेप्टेम्बर २००८ जस्तै गरी पुनरावलोकन
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:
- {{Birth year and age}} – let us assume:
- that the person in question was born some time in अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।; and
- that the present date is २६ अप्रिल २०२४.
- If the person was born after २६ अप्रिल, [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]] then she will be त्रुटि: मान्य वर्ष, महिना, दिन आवश्यक छ years old on २६ अप्रिल २०२४ as they have not had their 55th birthday yet. On the other hand, if she was born exactly on or before २६ अप्रिल, [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]], then she will be 55 years old.
- Therefore, the template
{{Birth year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।}}
- displays her birth year and age as: अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (age अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।–अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।)अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।
- Therefore, the template
- Optionally if we know the person's birth month but not day, we can also have the template display the month.
- Using the above examples and assuming the month is ०४ (अप्रिल)
- Therefore, the template
{{Birth year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|०४}}
- displays her birth year and age as: अप्रिल अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (age अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "०"।)अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "०"।
- Therefore, the template
- Using the above examples and assuming the month is ०४ (अप्रिल)
- {{Death year and age}} – let us assume:
- that the person in question was born some time in अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।; and
- that he died some time in अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।.
- We can posit as two extremes: (1) that the person was born on 31 December [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]] and died on 1 January [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]], 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 [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]]; and (2) that he was born on 1 January [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]] and died on 31 December [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]], 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 [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]].
- Therefore, the template
{{Death year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।}}
- renders his death year and age as: अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (aged अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।–अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।)
- Therefore, the template
- Optionally if we know month of the person's death but not the day, we can also have the template display the month.
- Using the above examples and assuming the month is ०४ (अप्रिल)
- Therefore, the template
{{Death year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|०४}}
- displays his death year and age as: अप्रिल अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (aged अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।–अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।)
- Therefore, the template
- Using the above examples and assuming the month is ०४ (अप्रिल)
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}} {{Birth year and age|year of birth|optional month of birth}} {{Death year and age|year of death|year of birth}} {{Death year and age|year of death|year of birth|optional month of death}}
Examples
Template text | Result |
---|---|
{{Birth year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।}} | अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (age अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।–अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।)अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक। |
{{Birth year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|०४}} | अप्रिल अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (age अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "०"।)अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "०"। |
{{Death year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।}} | अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (aged अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।–अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।) |
{{Death year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|०४}} | अप्रिल अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (aged अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।–अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।) |
See also
- Wikipedia:Age calculation templates
- {{BirthDeathAge}} – carries out the functions of this template and all the following ones
- {{Birth date}}
- {{Birth date and age}} – same as {{Birth date}}, except that "(age ##)" appears after the death date
- {{Death date}}
- {{Death date and age}} – same as {{Death date}}, except that "(aged ##)" appears after the death date
- {{Death year and age}} – year of death and approximate age at death