قالب:Age in years and months/doc
هذه صفحة توثيق فرعية لـ قالب:Age in years and months. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
The content of this template is only visible when the template is transcluded.
Usage
This template returns the number of full years and remaining days between two specified dates. If the second set of parameters is not included, it will return the number of full years and remaining months between a specified date and today's date.
- Syntax:
- {{age in years and months|year1|month1|day1|year2|month2|day2}} or
- {{age in years and months|year1|month1|day1}}
- Examples:
- {{age in years and months|1989|7|23|2003|7|14}} returns "خطأ: الوظيفة "age_ym" غير موجودة."
- {{age in years and months|1989|7|23}} returns "خطأ: الوظيفة "age_ym" غير موجودة."
See also
- {{age}} — Age in years
- {{age in days}} — Age in days
- {{age in years and days}} — Age in years and days
- {{date}} — Today's date