Template:Fooian fooers/doc

Displays standardized category navigation for occupations and nationalities, required by Category names.

This template should be avoided on categories not diffused by nationality, e.g. Arab, Bengali, Carniolan, Guadeloupean fooers. Note that geographic categories should in general use the People from Foo format, as required by Category names.

Usage
Simplest case

For a profession which is a subset of another profession

For a profession which is an intersection of two other professions


 * All parameters, vertical format:

 {Fooian fooers | Profession          = | Nationality         = | Country             = | Supercategory       = | Supercategory2      = }}

 Required Required Required Optional Optional

 The occupation, e.g. "film score composers" The nationality, for example "Irish" The country, for example "Ireland" An occupation of which this is a sub-category, e.g. "film people" Another occupation of which this is a sub-category, e.g. "composers"

Categories
Adds a pair of standard parent categories:
 * Profession
 * Nationality

If the "Supercategory" parameter is used, the following categories will be generated instead:
 * Profession
 * Nationality

If the "Supercategory2" parameter is also used, the following categories will be generated instead:
 * Profession
 * Nationality
 * Nationality

Self-checking
The template tests for the existence of Category:Profession by nationality  or   Category:Supercategory by nationality  or  Category:Supercategory2 by nationality , and alters its output as follows:


 * 1) If the "Supercategory" parameter is supplied, but Category:Supercategory by nationality  does not exist, then  Category:Supercategory  will be used instead)
 * 2) If the "Supercategory" and "Supercategory2" parameters are both supplied, but neither  Category:Supercategory by nationality  nor  Category:Supercategory2 by nationality  exists, then  Category:Supercategory  will be used instead)
 * 3) When neither the "Supercategory" or "Supercategory2" parameters supplied, the template tests for the existence of Category:Profession by nationality  . If that does not exist, then  Category:Profession  will be used instead)

Examples
Example from Category:American writers:

Supercategory
The  parameter allows another category to be added between the "nationality people by occupation" and this occupation category. This for occupations which are a subset of another ocupation.

Example from Category:American diarists:

Example from Category:Irish autobiographers:

Example from Category:German civil engineers:

Supercategory2
The  parameter is for use when an occupation is an intersection of two other occupations.

Example from Category:British film score composers:

Example from Category:Irish magazine editors:

Substitution
In most cases, should not be substituted.

Please note that this template may need to be modified for some categories, because some nationalities are listed as "People of Foo" instead of "Fooian". One such case is Northern Ireland: see Fooers from Northern Ireland

In other instances, the template may be substituted and edited in place.