Mal:Alder: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
en |
Ingen redigeringsforklaring |
||
| Linje 1: | Linje 1: | ||
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly> | <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude> | ||
<noinclude> | |||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
This template returns the number of full years between two dates, or between a specified date and today (UTC). | This template returns the number of full years between two dates, or between a specified date and today (UTC). | ||
Sideversjonen fra 15. apr. 2007 kl. 19:10
This template returns the number of full years between two dates, or between a specified date and today (UTC).
- Syntax:
- {{age|year1|month1|day1|year2|month2|day2}}
- {{age|year1|month1|day1}}
Examples:
If you use this template for calculating someone's age at death or age at a certain date (rather than their current age), please substitute it into the page, for example: {{subst:age|1989|7|23|2003|7|14}}.