Template:Birth date and age2
Sarna News
- HEXTECH Review - Wave 3 Brings More Urban Options To Your Battlefield
- Your BattleTech News Round-Up For March, 2024
- Crashing 'Mechs With Jennifer Brozek, Author Of The Rogue Academy Trilogy
- Getting The Word Out With Rem Alternis, Catalyst Community & Marketing Director
- Bad 'Mechs - Yeoman
- Read more →
This template is used on many 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. |
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[edit]
- 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[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
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 |
Birth year | 4 | no description
| Number | suggested |
Birth month | 5 | no description
| Number | suggested |
Birth day | 6 | no description
| Number | suggested |
date first format | df | sets format to dmy
| String | optional |
month first format | mf | mf=yes sets format to mdy
| Unknown | optional |