Skabelon:Dato og alder2
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: 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 has custom formatting.
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 |
Dokumentationen ovenfor er transkluderet fra Skabelon:Dato og alder2/doc. (rediger | historik) Brugere kan eksperimentere i denne skabelons undersider sandkasse (opret | kopier) og testcases (opret). Tilføj venligst kategorier til /doc-undersiden. Undersider til denne skabelon. |