Difference between revisions of "Template:Age in years/doc"
Jump to navigation
Jump to search
blackwiki>Zyxw m (Since <tt> is obsolete in HTML5, replace with <kbd> – see HTML element#tt and Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
blackwiki>Zyxw (add {{Lua|Module:Age}}, misc formatting) |
||
| Line 1: | Line 1: | ||
| − | {{Documentation subpage | + | {{Documentation subpage}} |
| − | <!-- | + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> |
| + | {{High-use|3300}} | ||
| + | {{Lua|Module:Age}} | ||
== Usage == | == Usage == | ||
| Line 11: | Line 13: | ||
* [[Wikipedia:Age calculation templates]]. | * [[Wikipedia:Age calculation templates]]. | ||
| − | <includeonly> | + | {{Birth, death and age templates|age}} |
| − | <!-- Categories and interwikis | + | |
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- Categories below this line and interwikis at Wikidata --> | ||
[[Category:Date mathematics templates]] | [[Category:Date mathematics templates]] | ||
[[Category:Date-computing templates]] | [[Category:Date-computing templates]] | ||
| − | </includeonly> | + | |
| + | }}</includeonly> | ||
Revision as of 18:43, 23 October 2018
| This is a documentation subpage for Template:Age in years. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 3,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Usage
{{Age in years|2000}} yields 25. {{Age in years|1900|1950}} yields 49–50.
Note that the template provides an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.
See also