Permanently protected template

ಟೆಂಪ್ಲೇಟು:Age

ವಿಕಿಪೀಡಿಯ ಇಂದ
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date.

Syntax:
{{age|year1|month1|day1|year2|month2|day2}} or
{{age|year1|month1|day1}}
Examples:
{{age|1989|7|23|2003|7|14}} returns "13"
{{age|1989|7|23}} returns "29"
When using this template to calculate a person's age at death or a person's age on a specified date (rather than the person's current age), please substitute it into the page.
Example: {{subst:age|1989|7|23|2003|7|14}}
When entering dates before the Common Era, use astronomical year numbering: 1 BCE is represented by 0, 2 BCE by -1, 3 BCE by -2 etc. For example, the following expression returns the number of full years elapsed since the battle of Cannae, which took place on August 2, 216 BCE:
{{age|-215|8|2}} returns "2233"

(BCE is exactly the same as BC, so August 2, 216 BCE is also August 2, 216 BC)

Note:
This template does not check for incorrect input:
{{age|1980|7|14|1993|6|233}} returns "12" (surplus days do not count as extra months)
{{age|1980|7|14|1993|88|14}} returns "13" (surplus months do not count as extra years)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Age

This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date.

Template parameters

ಪರಿಮಿತಿವಿವರನಮೂನೆಸ್ಥಾನಮಾನ
Year ('from' date)year11

The year of the (first) date

ಸಂಖ್ಯೆrequired
Month ('from' date)month12

The month of the (first) date

ಸಂಖ್ಯೆrequired
Day of month ('from' date)day13

The day of the month of the (first) date

ಸಂಖ್ಯೆrequired
Year ('to' date)year24

The year of the 'to' date, if required

ಸಂಖ್ಯೆಐಚ್ಛಿಕ
Month ('to' date)month25

The month of the 'to' date, if required

ಸಂಖ್ಯೆಐಚ್ಛಿಕ
Day of month ('to' date)day26

The day of the month of the 'to' date, if required

ಸಂಖ್ಯೆಐಚ್ಛಿಕ

See also
https://kn.wikipedia.org/wiki/%E0%B2%9F%E0%B3%86%E0%B2%82%E0%B2%AA%E0%B3%8D%E0%B2%B2%E0%B3%87%E0%B2%9F%E0%B3%81:Age
kn.wikipedia.org
crawl=CC-MAIN-2018-47
93117
application/http; msgtype=response
sha1:2CQFL6SXC5WI3GBXO3JN5X6Q4NADPC2G
<urn:uuid:ef62a33f-6245-4f2f-bce7-7c36e78971f8>
2018-11-19T14:41:47Z
208.80.154.224
text/html
sha1:WHM3HKZXSXLUK44JEVLQCCSUVHAZOQGQ
<urn:uuid:812f3c6b-f3a1-42a5-8259-e2796919d9e5>
https://kn.wikipedia.org/wiki/%E0%B2%9F%E0%B3%86%E0%B2%82%E0%B2%AA%E0%B3%8D%E0%B2%B2%E0%B3%87%E0%B2%9F%E0%B3%81:Age
response
<urn:uuid:34e2aff6-002e-49df-be55-36cdaa08b736>
isPartOf: CC-MAIN-2018-47
publisher: Common Crawl
description: Wide crawl of the web for November 2018
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-71-191-109.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/