This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
{{Fooian expatriate sportspeople in Bar cat}}
No parameters are available
Output
Most countries
[[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
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
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
- Used on a non-category page
- Used on category page with an invalid title