Jump to content

Template:Fooian expatriate sportspeople in Bar cat/doc

From Wikipedia, the free encyclopedia

Creates a category page for a category of expatriate sportspeople of "Fooian" nationality in the country named "Bar".

The page name must take the form "Category:Fooian expatriate sportspeople in Bar". If the title does not take this form, the template will throw an error.

Usage

[edit]

{{Fooian expatriate sportspeople in Bar cat}}

No parameters are available

Output

[edit]

Most countries

[edit]
[[Category:Fooian expatriate sportspeople by country of residence|Bar]]
[[Category:Fooian expatriates in Bar|Sportspeople]]
[[Category:Expatriate sportspeople in Bar by nationality|Fooian]]

"The" Country

[edit]

This template uses {{Fooian expatriate sportspeople in Bar cat/sortname}} to intelligently handle countries whose name is prefixed by "the" in running text. e.g. "the United States" or "the Soviet Union"

Example: Category:Zambian expatriate sportspeople in the United States

[[Category:Zambian expatriate sportspeople by country of residence|United States]]
[[Category:Zambian expatriates in the United States|Sportspeople]]
[[Category:Expatriate sportspeople in the United States by nationality|Zambian]]

Exceptions

[edit]

In some cases, the bare country name is unsuitable as a sort key. In those cases, {{Fooian expatriate sportspeople in Bar cat/sortname}} modifies the sort key.

e.g.

  • Democratic Republic of the Congo → Congo, Democratic Republic of
  • North Korea → Korea, North
  • West Germany → Germany, West

Tracking categories

[edit]
Used on a non-category page
Used on category page with an invalid title