Difference between revisions of "Template:Age"

From Conservapedia
Jump to navigation Jump to search
m (Protected "Template:Age" [edit=sysop:move=sysop] [cascading])
(display a person's current age)
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.
 
[[Category:Navigation box]]
 
[[Category:Navigation box]]
 
</noinclude>
 
</noinclude>

Revision as of 19:40, March 21, 2009

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.