 | این الگو در نزدیک به ۳٬۳۰۰ صفحه بهکار رفته است و تغییر دادن آن میتواند تأثیرات گستردهای داشتهباشد. لطفاً تغییرات را در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان بیازمایید. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
 | این الگو از لوآ استفاده میکند:
|
Usage
{{Age in years|2000}} yields ۲۵–۲۶.
{{Age in years|1900|1950}} yields ۴۹–۵۰.
Note that the template provides an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.
See also
الگوهای تولد، مرگ و سن |
|---|
تولد، مرگ، سن |
|---|
| الگو | شرح / کاربرد | | {{BirthDeathAge}} | Combines functions of {{تاریخ تولد}}, {{Birth-date}}, {{تاریخ تولد و سن}}, {{سال تولد و سن}}, {{Death date}}, {{death-date}}, {{تاریخ مرگ و سن}} and {death year and age}}. | | {{تاریخ تولد}} | To display a birth date and related hidden metadata. | | {{birth-date}} | | | {{تاریخ تولد و سن}} | {{birth date}} with suffix "(age N)". | | {{birth date and age2}} | {{birth date and age}} plus age as of a specified date. | | {{تاریخ-تولد و سن}} | As {{birth date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). | | {{سال تولد و سن}} | Year of birth and approximate age. | | {{Birth based on age as of date}} | To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person). | | {{Birth date based on age at death}} | To display approximate birth year based on age at death. |
| الگو | شرح / کاربرد | | {{death date}} | To display a death date and related hidden metadata. | | {{end-date}} | | | {{تاریخ مرگ و سن}} | {{death date}} with suffix "(age N)". | | {{death-date and age}} | As {{death date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). | | {{تاریخ مرگ و سن معلوم}} | To display a death date and specified age. | | {{سال مرگ و سن}} | To display a year of and approximate age at death. |
|
|
فقط سن |
|---|
| الگو | شرح / کاربرد | | {{سن}} | Age based on number of complete years between two dates. | | {{age nts}} | {{age}} with output formatted for use in sortable tables. | | {{سن از تاریخ}} | Current age (in years) from a known age at a specified date. |
|
|
|