Template:Person categories/doc

Usage
  or its shortcut   (from the original name "Lifetime") is for automatically generating all category tags related to birth and death years, including living people and missing or unknown values. The general DEFAULTSORT can be embedded as well. It should not be used to replace existing DEFAULTSORT and/or category tags.



will generate:



Other cases are handled with options, see below. As with the original, the embedded magic word DEFAULTSORT also applies to all categories on the page, no matter whether the lifetime template is before or after them.

Since the  should occur before the categories, the L template should generally be placed before the first Category tag, for example:



Options
For each option, the default value is displayed in bold and automatically assumed if the field is left blank.

Please note that MISSING results in Categories that are not displayed on the page.


 * 1 (birth)
 * MISSING : when year seems possible to be found.
 * Category:Year of birth missing or Category:Year of birth missing (living people)
 * year of birth : such as "1899" or known approximations such as "1890s" or "19th-century" (note the hyphen).
 * Category:1899 births or Category:1890s births or Category:19th-century births


 * 2 (death)
 * LIVING : living or assumed living people.
 * Category:Living people
 * MISSING : believed dead and year seems possible to be found.
 * Category:Year of death missing
 * year of death : such as "1986" or known approximations such as "1980s" or "20th-century" (note the hyphen).
 * Category:1986 deaths or Category:1980s deaths or Category:20th-century deaths


 * 3 (sortkey)
 *   : should almost never be left blank (especially with Asian names, it is hard to see the difference between a missing sortkey and a sortkey identical to the article name due to a family-first name).
 * Asian name, Honorific prefix (qualifier suffix) : for assertion of sortkey assessment.
 * "Mao, Zedong" - "Kim, Il-sung" - "Matsuo Bashō|Matsuo, Basho" - "Nu, U" - "Wang, Li (politician)"
 * Family name, Given name, Honorific-prefix (qualifier suffix) : for proper sorting.
 * "Newton, Isaac, Sir" - "Karlsson, Ove (sports journalist)"
 * For names without qualifiers, and where the last name is the family name, e.g. "John William Hanson", the following may be helpful:
 * This will generate a defaultsort of "Hanson, John William".
 * For further details, see Categorization of people.
 * For further details, see Categorization of people.

Most values are case-insensitive ("LIVING" or "LiVinG" work the same), except when it matters (such as century names).

Examples

 * For a living person

or

will give:


 * For a missing birth and living person

or

will give:


 * For a dead person

will give: