FANDOM


(update docs)
(use different birthday)
 
Line 4: Line 4:
 
<blockquote><pre>
 
<blockquote><pre>
 
{{Age
 
{{Age
|birth_year=1984
+
|birth_year=1929
|birth_month=4
+
|birth_month=1
|birth_day=19
+
|birth_day=15
 
}}</pre> gives...
 
}}</pre> gives...
 
:{{Age
 
:{{Age
|birth_year=1984
+
|birth_year=1929
|birth_month=4
+
|birth_month=1
|birth_day=19
+
|birth_day=15
 
}}</blockquote>
 
}}</blockquote>
 
<blockquote><pre>
 
<blockquote><pre>
 
{{Age
 
{{Age
|1984
+
|1929
|4
+
|1
|19
+
|15
 
}}</pre> gives...
 
}}</pre> gives...
 
:{{Age
 
:{{Age
|1984
+
|1929
|4
+
|1
|19
+
|15
 
}}</blockquote><includeonly>
 
}}</blockquote><includeonly>
 
[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>
 
[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>

Latest revision as of 03:11, October 18, 2019

Description
This template returns the current age of someone with a given birthdate.
Sample output
{{Age
|birth_year=1929
|birth_month=1
|birth_day=15
}}
gives...
91
{{Age
|1929
|1
|15
}}
gives...
91
Community content is available under CC-BY-SA unless otherwise noted.