User:Game Lord/Age

{{#ifexpr:{{CURRENTMONTH >= 7 | {{#ifexpr:{{CURRENTDAY}} >= 19 | {{#expr:{{CURRENTYEAR}} - 1980}} }} }} {{#ifexpr:{{CURRENTMONTH >= 7 | {{#ifexpr:{{CURRENTDAY}} < 19 | {{#expr:{{#expr:{{CURRENTYEAR}} - 1980}} - 1}} }} }} {{#ifexpr:{{CURRENTMONTH < 7 | {{#expr:{{#expr:{{CURRENTYEAR}} - 1980}} - 1}} }}

This is a function to be used to display an inhabitant's age. It is still undergoing testing, and may not function correctly.