Mal:Alder: Forskjell mellom sideversjoner

Fra wikisida.no
Hopp til navigering Hopp til søk
doc
mal
Linje 16: Linje 16:


<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Date mathematics templates|{{PAGENAME}}]]
[[Kategori:Datomaler|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->

Sideversjonen fra 15. apr. 2007 kl. 19:07


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:

  • {{age|1989|7|23|2003|7|14}} gives Mal:Age
  • {{age|1989|7|23}} gives Mal:Age


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}}.