Module:Age/doc

This is a Lua script to calculate the age of non-Human characters.

Usage:
 * Argument number one is the format. It contains the race, (such as elf, orc, goblin), an optional "_true" postfix, and an optional "*" postfix.
 * The "_true" postfix means you gave the character's age in Terran years, so they script has to convert them to Artograchian years.
 * The "*" postfix means you want the years to be rounded, so it will give you 66 years instead of 66.4535 years.
 * Argument number two is the birth date.
 * Argument number three is the death date, or the current date. It is not optional when you invoke this module. When you "invoke" the script indirectly, using Template:Age, it is once again mandatory to give the third argument. When you "invoke" the script indirectly using Template:CharacterAge however, the third argument is optional - unless you specify a date of death, it defaults to the current date, which is Template:CurrentTime, implying that the character is still alive.