Template:Birth date and age2/doc

From blackwiki
< Template:Birth date and age2
Revision as of 21:22, 27 December 2015 by imported>Wassan.anmol
Jump to navigation Jump to search

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.

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:  (1961-07-04)4 July 1961 (aged 26)



This template displays a person's birth date and age at a specified date.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Specified year1

Adds the specified year.

Example
{{birth date and age2 |1970}}
Numbersuggested
Specified month2

Adds the specified month.

Example
{{birth date and age2 |1970|5}}
Numbersuggested
Specified day3

Adds the specified day.

Example
{{birth date and age2 |1970|5|12}}
Numbersuggested
Year4

Year of birth.

Example
{{birth date and age2 |1970|5|12|1962}}
Numbersuggested
Month5

Month of birth.

Example
{{birth date and age2 |1970|5|12|1962|4}}
Unknownsuggested
Date6

Date of birth.

Example
{{birth date and age2 |1970|5|12|1962|4|12}}
Numbersuggested
Dfdf

Date first.

Example
{{birth date and age2 |1970|5|12|1962|4|12|df=y}}
Stringsuggested