Template:Occupation by nationality and century category header
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
General usage
This template is used to categorize people of a given occupation by their nationality and century on category pages. It will 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:
{{Occupation by nationality and century category header|Occupation=FOO|JobPortal=FOO}}
General example
{{Occupation by nationality and century category header|Occupation=writer|JobPortal=literature}}
Notes
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.
See also
Sub-templates
- {{Occupation by nationality and century category header/outercore}}
- {{Occupation by nationality and century category header/portal}}
- {{Occupation by nationality and century category header/era}}
- {{Occupation by nationality and century category header/nationality}}
- {{Occupation by nationality and century category header/nationality/core}}
- {{Occupation by nationality and century category header/nationality/parentnationality}}
- {{Occupation by nationality and century category header/continental}}
TemplateData
TemplateData for Occupation by nationality and century category header
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
JobPortal | JobPortal portal Portal jobportal | no description
| String | optional |
Occupation | Occupation job occupation | no description
| String | required |
Parentnationality | Parentnationality Parent nationality ParentNationality Parentnation parentnationality | Only required if you have a parent nationality category. Typical use is internal | Content | optional |
ParentOccupation | ParentOccupation parentoccupation ParentOcc parentocc | Is for a fully nestable parent occupation | Content | optional |
SiblingOccupation | SiblingOccupation Siblingoccupation siblingoccupation sibling occupation sibling | See also for a related, but non-nested category | Unknown | optional |
diagnose | diagnose diagnosis Diagnosis Diagnose | no description | Unknown | optional |
Title century | Title century | no description | Unknown | optional |
Title demonym | Title demonym Title_demonym title demonym Titledemonym titledemonym demonym | no description | Content | optional |
nondiffdenom_noun | nondiffdenom_noun | no description | Unknown | optional |