Difference between revisions of "Template:Age in years/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Yahia.barie
blackwiki>Jonesey95
(doc note)
Line 5: Line 5:
 
<tt><nowiki>{{Age in years|2000}}</nowiki></tt> yields {{Age in years|2000}}.
 
<tt><nowiki>{{Age in years|2000}}</nowiki></tt> yields {{Age in years|2000}}.
 
<tt><nowiki>{{Age in years|1900|1950}}</nowiki></tt> yields {{Age in years|1900|1950}}.
 
<tt><nowiki>{{Age in years|1900|1950}}</nowiki></tt> yields {{Age in years|1900|1950}}.
 +
 +
At present, the template says that someone born in 2000 is currently 15 years old (in 2015), but that is not necessarily true. Someone born in 2000 is currently either 15 years old (if they have already had a birthday this year) or 14 years old (if they have not yet had a birthday this year). As such, this template should not be used for ages of humans or animals.
  
 
== See also ==
 
== See also ==

Revision as of 02:04, 19 April 2015

Usage

{{Age in years|2000}} yields 25–26. {{Age in years|1900|1950}} yields 49–50.

At present, the template says that someone born in 2000 is currently 15 years old (in 2015), but that is not necessarily true. Someone born in 2000 is currently either 15 years old (if they have already had a birthday this year) or 14 years old (if they have not yet had a birthday this year). As such, this template should not be used for ages of humans or animals.

See also