This template is used to categorize diffusing categories for women or men for a given occupation by their nationality and century on category pages. It should produce the correct links and categories for the specific country and century referred to in the category page's title.

To include this template on a page, use the following code:

{{Diffusing occupation by nationality and century category header|Diffusing occupation=FOOs|JobPortal=FOO}}

{{Diffusing occupation by nationality and century category header|Diffusing occupation=writers|JobPortal=Literature}}

This template should only be used on category pages. Make sure the title of the category page includes the demonym and century so that the template can correctly infer these values. Right now, the category isn't smart enough to handle some redirected categories. In those cases, wrapping the template with {{suppress categories| TEMPLATE}} is one temporary workaround.