Jump to content

Template:Occupation by nationality and century category header/doc

From Wikipedia, the free encyclopedia

General Usage

[edit]

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

[edit]

{{Occupation by nationality and century 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 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

[edit]

Sub-templates

[edit]

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Occupation by nationality and century category header in articles based on its TemplateData.

TemplateData for Occupation by nationality and century category header

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
JobPortalJobPortal portal Portal jobportal

no description

Example
Literature
Stringoptional
OccupationOccupation job occupation

no description

Example
writers
Stringrequired
ParentnationalityParentnationality Parent nationality ParentNationality Parentnation parentnationality

Only required if you have a parent nationality category. Typical use is internal

Contentoptional
ParentOccupationParentOccupation parentoccupation ParentOcc parentocc

Is for a fully nestable parent occupation

Contentoptional
SiblingOccupationSiblingOccupation Siblingoccupation siblingoccupation sibling occupation sibling

See also for a related, but non-nested category

Unknownoptional
diagnosediagnose diagnosis Diagnosis Diagnose

no description

Unknownoptional
Title centuryTitle century

no description

Unknownoptional
Title demonymTitle demonym Title_demonym title demonym Titledemonym titledemonym demonym

no description

Contentoptional
nondiffdenom_nounnondiffdenom_noun

no description

Unknownoptional