Log in

Template talk:Person

From PathfinderWiki
← $1

Age calculation

Is there a way to use parser functions within the template to calculate a living NPC's age based on the current year? I have already figured how to establish the year, as one can see on the main page, but I wonder how to do this calculation, as it would depend on two parameters (DOB and a lack of an entry in either death or destroyed). Any suggestions?--Yoda8myhead 21:00, 3 June 2008 (UTC)

Nine years later... I've copied {{Age}} over from Wikipedia, and added {{Age/AR}}. Example: {{Age/AR|4700}} produces 19. -Oznogon (talk) 05:31, 12 July 2017 (UTC)