"ढाँचा:Birth year and age/कागजात" का संशोधनहरू बिचको अन्तर
Content deleted Content added
update doc for optional parameter month |
सा fix interwiki |
||
पङ्क्ति ९६: | पङ्क्ति ९६: | ||
[[no:Mal:Fødselsdato og alder]] |
[[no:Mal:Fødselsdato og alder]] |
||
[[fi:Malline:Syntymäaika ja ikä]] |
[[fi:Malline:Syntymäaika ja ikä]] |
||
[[vi:Tiêu bản: |
[[vi:Tiêu bản:Năm sinh và tuổi]] |
||
[[ja:Template:生年月日と年齢]] |
[[ja:Template:生年月日と年齢]] |
||
</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:
- {{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 before २९ मार्च, [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]] then they will be त्रुटि: मान्य वर्ष, महिना, दिन आवश्यक छ years old on २९ मार्च २०२४ as they have not had their 55th birthday yet. On the other hand, if they were born exactly on or before २९ मार्च, [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]], then the person will be 55 years old.
- Therefore, the template
{{Birth year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।}}
- displays their birth year and age as: अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"। (age अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।–अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।)अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।
- Therefore, the template
- Optionally if we know the persons birth month but not day, we can have the template also display the month.
- Using the above examples and assuming the month is ०३ (मार्च)
- Therefore, the template
{{Birth year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|०३}}
- displays their 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 they would have been 49 years old at the time of their death as they did not achieve their 50th birthday on 31 December [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]]; and (2) that they were born on 1 January [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]] and died on 31 December [[अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।]], in which case they would have been 50 years old at the time of their death as they 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 the persons month they died but not the day, we can have the template also display the month.
- Using the above examples and assuming the month is ०३ (मार्च)
- Therefore, the template
{{Death year and age|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।|०३}}
- displays their birth 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