Jump to content

Template:Birth year and age2/doc

From Wikipedia, the free encyclopedia

This template displays a person's birth date and age at a specified date, if only their year of birth is known.
This allows you to show how old a person was at the time they participated in an event or made an achievement, even if you only know their year of birth.

Usage

[edit]
Syntax
{{birth year and age2 |specified year|year of birth|optional month of birth|optional specified month}}
Format
{{birth year and age2 |yyyy|yyyy}}
Example

{{birth year and age2 |1988|1961}} produces:  1961 (aged 26–27)

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Birth year and age2 in articles based on its TemplateData.

TemplateData for Birth year and age2

This template displays a person's birth date and age at a specified date, if only their year of birth is known.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Specified year1

Adds the specified year.

Example
1970
Numbersuggested
Birth year2

no description

Example
1952
Numbersuggested
Specified month3

Adds the specified month.

Example
5
Numberoptional
Birth month4

no description

Example
4
Numberoptional

See also

[edit]