Template:Occupation by nationality 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
[edit]This template is used to categorize people of a given occupation by their nationality on category pages. It will produce the correct links and categories for the specific country referred to in the category page's title.
To include this template on a page, use the following code:
{{Occupation by nationality category header|Occupation=FOO|JobPortal=FOO}}
General example
[edit]{{Occupation by nationality category header|Occupation=writer|JobPortal=literature}}
Notes
[edit]This template should only be used on category pages. Make sure the title of the category page includes the demonym 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
[edit]{{Occupation by nationality category header/seealso}}
Sub-templates
[edit]- {{Occupation by nationality category header/outercore}}
- {{Occupation by nationality category header/portal}}
- {{Occupation by nationality category header/era}}
- {{Occupation by nationality category header/nationality}}
- {{Occupation by nationality category header/nationality/core}}
- {{Occupation by nationality category header/nationality/parentnationality}}
- {{Occupation by nationality category header/continental}}
TemplateData
[edit]TemplateData for Occupation by nationality 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 demonym | Title demonym Title_demonym title demonym Titledemonym titledemonym demonym | no description | Content | optional |
nondiffdenom_noun | nondiffdenom_noun | no description | Unknown | optional |