A simple utility template to check whether a country is located in Central America. It works for the both the noun and adjectival forms, e.g. "Honduras" and "Honduran"

Returns "Central America" if true, i.e. for Belize, Costa Rica, El Salvador, Guatemala, Honduras, Nicaragua, and Panama.

Otherwise returns nothing, including for blank or nonsensical values.

Usage

edit

Takes only one parameter: the name of a country or its nationality. Case-insensitive.

{{Is country in Central America|Foo}} ... where "Foo" is the name of a country

Examples

edit

{{Is country in Central America|Belize}} → Central America

{{Is country in Central America|honduras}} → Central America

{{Is country in Central America|Nicaraguan}} → Central America

{{Is country in Central America|Japan}}

{{Is country in Central America|Canada}}

{{Is country in Central America|Xanadu}}

{{Is country in Central America|bElIzE}} → Central America

{{Is country in Central America|Lorem ipsum dolor sit amet}}

{{Is country in Central America|}}

See also

edit