Template:YYYY crimes in countryname category header/doc

Use this to create a category of the form "YYYY crimes in CountryName", where "CountryName" is a valid name of a country and "YYYY" is a 4-digit year.

e.g.
 * Category:1860 crimes in the United States
 * Category:1932 crimes in Japan
 * Category:2011 crimes in Pakistan
 * Category:2015 crimes in Nigeria

Normal usage
The normal usage requires no parameters, because the template looks up the other data.

e.g. on Category:1954 crimes in the United States, no parameters are needed

The other needed data is:
 * 1) the adjectival form of the country in which the country is located. This is looked up by Template:GetAdjectiveFromCountryName
 * 2) the continent(s)  in which the country is located. This is looked up by Template:Country2continent

If either of those lookups fails, then an error is reported unless the required data is supplied by an optional parameter.

That may be due to this category being misnamed, or it may be due to an omission in the lookup table used by Template:GetAdjectiveFromCountryName or Template:Country2continent. (Some former countries may have been omitted. Also, when country has been renamed, the lookup uses only the current country name).

If a lookup fails, then the template creates no output other than an error message. If you are satisfied that the category is correctly named, use the one of the optional parameters below.

Optional parameters
e.g. on Category:2003 crimes in Hong Kong, use
 * Fooish bypasses the lookup of the nationality, and uses "Fooish"
 * Atlantis bypasses the lookup of the continent, and uses "Atlantis".
 * Lemuris bypasses the lookup of the continent, and adds a second continent: "Lemuria"
 * AnotherCountry is available for use when a country is part of another country.
 * yes turns on diagnostics, which may help if the template doesn't work as expected

Tracking
Use of the parentcountry parameter is tracked in: Use of the nationality parameter is tracked in: Categories where country lookup fails are tracked in a category shared with many other templates:
 * Category:Template YYYY crimes in countryname category header with parentcountry (population )
 * Category:Template YYYY crimes in countryname category header with nationality parameter (population )
 * Category:Errors reported by other category header templates (population )