Changes

Jump to navigation Jump to search
366 bytes added ,  02:52, April 28, 2017
explaining usage
Line 1: Line 1:  
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
 
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
−
You can display a person's current age with this template. It will always be up to date, because it's calculated by the server based on the year, month and day of their birth. Use it in biographical articles.
+
This template allows the displayof a person's current calculated age. It will always be up to date, because it's calculated by the server based on the year, month and day of their birth. This can be especially useful in biographical articles.
 +
 
 +
==Documentation==
 +
Usage of this template is fairly straightforward.  It takes in three required numerical parameters: year, month, and day, in that order.<br />
 +
<code>'''<nowiki>{{age|YYYY|MM|DD}}</nowiki>'''</code>
 +
 
 +
For example, the birth date of June 12, 1986 would be entered as <code><nowiki>{{age|1986|06|12}}</nowiki></code>
 
[[Category:Navigation box]]
 
[[Category:Navigation box]]
 
</noinclude>
 
</noinclude>
Block, SkipCaptcha, Upload, Automoderated users, Check users, delete, edit, Moderators, move, oversight, protect, ratelimit-exempt, rollback, Administrators
20,389

edits

Navigation menu