Loading
  • 21 Aug, 2019

  • By, Wikipedia

Template:Fooers From Northern Ireland

Displays standardized category navigation for people by occupations from Northern Ireland, required by Wikipedia:Naming conventions (categories)#Occupation.

Usage

Example 1
{{Fooers from Northern Ireland |Profession=Writers}}
See Category:Writers from Northern Ireland
Example 2
{{Fooers from Northern Ireland |Profession=Novelists |Supercategory=Writers |Country=Northern Ireland}}
See Category:Novelists from Northern Ireland
Example 3
{{Fooers from Northern Ireland | Profession = DJs |Professionkeepcaps = yes | Supercategory = Electronic musicians }}
See Category:DJs from Northern Ireland
(The Professionkeepcaps= yes is added because "DJs" needs to retain it capitalisation in all contexts)

In most cases, should not be substituted.

Parameters

By default, this template adds links to two portals: Portal:Northern Ireland and Portal:Biography.

More portal links may be added using any or all of these parameters: |portal=, |portal2=, and |portal3=

e.g. {{Fooers from Northern Ireland | Profession = Edgelords | Supercategory = |portal=Edgelordism}}

Technical details

This is a variant of the widely used Template:Fooian fooers. It is for use with the sub-categories of Category:People from Northern Ireland by occupation, which use the format "[Profession] from Northern Ireland", rather than the standard "[Nationality] [profession]".

Adds a pair of standard parent categories:

  • [[Category:Irish Profession| Northern Ireland]]
  • [[Category:British Profession| Northern Ireland]]

(This is because all sub-cats of Category:People from Northern Ireland are parented in the equivalent sub-categories Irish people and British. This reflects the commitment by the governments of the UK, Ireland and Northern Ireland in the Good Friday Agreement to the recognition of both national identities.)

If the "Supercategory" parameter is used, the following parent category will be generated added:

  • [[Category:Supercategory from Northern Ireland|Profession]]

Otherwise, this parent category will be generated:

  • [[Category:People from Northern Ireland by occupation|Profession]]

In all cases. the template adds:

  • [[Category:Profession by nationality|Nationality]]

Self-checking

The template tests for the existence of [[Category:Profession by nationality]] or [[Category:Supercategory 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. When the "Supercategory" parameter is not supplied, the template tests for the existence of [[Category:Profession by nationality]]. If that does not exist, then [[Category:Profession]] will be used instead.

See also