This is a documentation subpage for Template:Birth-date and age. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
{{Birth-date and age}} displays a person's birth date and age. Besides calculating the age of the person, the benefit of using this template is to allow for the inclusion of hidden microformat dates, which may be indexed or searched by software tools.
Note: The template may not calculate the age correctly if a full date (month, day, year) is not provided. For example, a person who was born in 1941 could be either 82 or 83, depending on whether they have reached their birthday in the current year:
{{Birth-date and age|1941}}
→ 1941 (age 83){{Birth-date and age|November 1941}}
→ November 1941 (age 83)When only the year is known, consider using {{Birth year and age}} instead:
{{Birth year and age|1941}}
→ 1941 (age 82–83){{Birth year and age|1941|11}}
→ November 1941 (age 82–83)