Difference between revisions of "Template:Age"

From Keedrah Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
+
<includeonly>{{#AgeCalc:
 +
{{#if:{{{BirthMonth|}}}|{{{BirthMonth}}}|}}|{{#if:{{{BirthDay|}}}|{{{BirthDay}}}|}}|{{#if:{{{BirthYear|}}}|{{{BirthYear}}}|}}|{{#if:{{{DeathMonth|}}}|{{{DeathMonth}}}|}}|{{#if:{{{DeathDay|}}}|{{{DeathDay}}}|}}|{{#if:{{{DeathYear|}}}|{{{DeathYear}}}|}}}}</includeonly><noinclude>[[Category:Templates]]
 +
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:25, 6 October 2018