Template:Nth-century fooers from Northern Ireland/doc

A category header template to create by-century categories for people by occupation from Northern Ireland, e.g. Category:20th-century writers from Northern Ireland.

This template is the only thing required to create such categories.

Usage
The template parses the category title to extract both the century and the occupation. So in simple cases, no parameters are required.


 * Example 1:
 * On Category:20th-century writers from Northern Ireland

Usage with a parent occupation
Many occupations are subsets of another occupation, e.g. poets are a subset of writers, so use the parameter Supercategory


 * Example 2:
 * On Category:20th-century poets from Northern Ireland


 * Example 3:
 * On Category:20th-century physicists from Northern Ireland

Usage with two parent occupations
In some rarer cases, an occupation is a subset of two other occupations, e.g. biochemists is a subset of both biologists and chemists


 * Example 4:
 * On Category:20th-century biochemists from Northern Ireland

Occupations where the first letter remains capitalised
(The  is added because "DJs" needs to retain it capitalisation in all contexts)
 * Example 5:
 * On Category:20th-century DJs from Northern Ireland

Gendered categories
The template understands gendered categories: "men fooers", "male fooers", "women Fooers", "female fooers".

When applied to a gendered category, it makes the appropriate adjustments to the parent categories, and adds a link to the sibling category for the other gender (if it exists). This is actually one of its most helpful uses, because gendered by-century categories for Northern Ireland occupations have five parent categories. Manually-built categories rarely get them all right.

However, it doesn't work for "actresses" categories. Don't use it on actress categories.

Substitition
This template should not be substituted. Doing so makes a hideous mess,