Template:Birth date and age2/doc
< Template:Birth date and age2
Jump to navigation
Jump to search
Revision as of 07:46, 24 February 2017 by imported>Zyxw (add {{TemplateData header}} (via JWB))
| This is a documentation subpage for Template:Birth date and age2. It contains usage information, categories and other content that is not part of the original template page. |
This template displays a person's birth date and age at a specified date.
This allows you to show how old a person was at the time they participated in an event or made an achievement.
Usage
- Syntax
{{birth date and age2 |specified year|specified month|specified day |year of birth|month of birth|day of birth}}
- Format
- {{birth date and age2 |yyyy|mm|dd |yyyy|mm|dd |df=y}}
- Example
{{birth date and age2 |1988|6|10 |1961|7|4 |df=y}} produces: 4 July 1961 (aged 26)
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Birth date and age2
This template displays a person's birth date and age at a specified date.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Specified year | 1 | Adds the specified year.
| Number | suggested |
| Specified month | 2 | Adds the specified month.
| Number | suggested |
| Specified day | 3 | Adds the specified day.
| Number | suggested |
| Year | 4 | Year of birth.
| Number | suggested |
| Month | 5 | Month of birth.
| Unknown | suggested |
| Date | 6 | Date of birth.
| Number | suggested |
| Df | df | Date first.
| String | suggested |
See also