الگو:Birth based on age as of date/توضیحات
از پژوهشکده امر به معروف
| این الگو ویژگیهای پیچیدهٔ نحو الگو را به کار میبرد.
به شما توصیه میشود خودتان را با راهاندازیش و توابع تجزیهکننده پیش از ویرایش این الگو آشنا کنید. اگر ویرایشتان موجب خطای غیره منتظره شود، لطفاً آن را به سرعت واگردانی کنید، چنانکه ممکن است این الگو در شمار زیادی صفحه ظاهر شود. به یاد داشته باشید که میتوانید آزمایش انجام دهید، و باید همه پیشرفتها را در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان پیش از تغییر اینجا آزمایش کنید. |
محتویات
Usage
This template calculates the birth year and current age based on the age as of a date. This is useful when a reference states only their age at the time of the reference's publication.
Syntax
{{Birth based on age as of date|age|year|month|day}}
The age, year, and day must be supplied as اعداد طبیعیs; month can be specified as a natural number as well as by name or abbreviation (e.g. "August" or "Aug"). The گاهشماری میلادی is assumed, with no special support provided for dual dating or the difference between Old Style and New Style dates .
Examples
For example, if a reference dated July 4, خطای عبارت: نویسه نقطهگذاری شناخته نشده «�» mentions that someone is 50 years old, that person's birth year and age can be rendered using
{{Birth based on age as of date|50|خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»|July|4}}
| Template text | Result |
|---|---|
| {{Birth based on age as of date|50|خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»|خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»|۱}} | خطای عبارت: عملگر < دور از انتظار/خطای عبارت: عملگر < دور از انتظار (age خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�») |
| {{Birth based on age as of date|50|خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»|اوت|۱}} | خطای عبارت: عملگر < دور از انتظار/خطای عبارت: عملگر < دور از انتظار (age خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�») |
| {{Birth based on age as of date|50|خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»|1|15}} | خطای عبارت: عملگر < دور از انتظار/خطای عبارت: عملگر < دور از انتظار (age خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�») |
| {{Birth based on age as of date|50|خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»|Nov|5}} | خطای عبارت: عملگر < دور از انتظار/خطای عبارت: عملگر < دور از انتظار (age خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�»خطای عبارت: نویسه نقطهگذاری شناخته نشده «�») |
See also
- Birth, death, age
- {{BirthDeathAge}} – carries out the functions of this template and all the following ones
- {{Birth date}} – displays the date and related hidden metadata
- {{Birth date and age}} – same as {{Birth date}}, except that "(age ##)" appears after the birth date
- {{Birth date and age2}} – displays birth date, plus age as of a specified date, "(aged ##)" appears after the birth date
- {{Birth year and age}} – year of birth and approximate age
- {{Birth-date and age}} – display birth date and age, accepts dates as text (15 June 1950; June 15, 1950; June 1950; etc.)
- {{Death date}} – displays the date and related hidden metadata
- {{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
- {{Death-date and age}} – display death date and age, accepts date as text (15 June 1950; June 15, 1950; June 1950; etc.)
- Age only
- {{Age}} – age based on the number of full years between two dates (or a specified date and current date)
- {{Age nts}} – similar to the above, but will sort correctly in sortable tables
- {{Age in years and days}} – full years and days between two dates (or a specified date and current date)
- {{Age in days}} – age in days between two dates (or a specified date and current date)
- {{Age as of date}} – current age in years, based on a known age as of a specified date







