Skabelon:Dato og alder2

Fra Wikipedia, den frie encyklopædi
Gå til: navigation, søg
Documentation icon Skabelondokumentation[vis] [rediger] [historik] [opfrisk]


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
{{dato og alder2 |specified year|specified month|specified day |year of birth|month of birth|day of birth}}
Format
{{dato og alder2 |yyyy|mm|dd |yyyy|mm|dd |df=y}}
Example

{{dato og alder2 |1988|6|10|1961|7|4|df=y}} produces:  (04.-07-1961)4. juli 1961 (alder 26 år)


Skabelon:Birth, death and age templates

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

Template parameters

This template prefers inline formatting of parameters.

Parameter Description Type Status
Specified year 1

Adds the specified year.

Default
empty
Example
1970
Auto value
empty
Number suggested
Specified month 2

Adds the specified month.

Default
empty
Example
5
Auto value
empty
Number suggested
Specified day 3

Adds the specified day.

Default
empty
Example
23
Auto value
empty
Number suggested
Year 4

Year of birth.

Default
empty
Example
1952
Auto value
empty
Number suggested
Month 5

Month of birth.

Default
empty
Example
4
Auto value
empty
Unknown suggested
Date 6

Date of birth.

Default
empty
Example
18
Auto value
empty
Number suggested
Df df

Date first.

Default
empty
Example
df=y
Auto value
empty
String suggested