Template:Character age/doc

Description
This template automatically contextualizes a character's age by adding the in-universe year of a work so that an editor does not have to remember it.

Dependencies

 * Module:Character age

Syntax
This template supports both named and unnamed parameters. Standard usage of the template is

...or...

It is not always necessary to provide both a work and a year, and in fact, the year will usually be automatically overwritten. Providing a work from the table at right will automatically generate a year; these inputs are not case-sensitive. The template will warn you if the work is not among the pre-generated examples and prompt you to provide the year yourself. If you are providing a custom work, you can format the field using wiki-markup, such as  or even a template like.

You can provide a year without providing a work. You can do so as  or   because the template will automatically detect if a PD year is provided in the second parameter.

The template also recognizes inputs to indicate the beginning or end of Campaign 1 and Campaign 2. Please consult the table at right for abbreviations.

The age field can be styled in any number of ways, ranging from a simple numeral (33) to an approximation (Early 30s) to a descriptive word (Ancient).