Template:Is country in Central America/doc
This is a documentation subpage for Template:Is country in Central America. It contains usage information, categories and other content that is not part of the original template page. |
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
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
{{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
- Template:Is country an EU member state
- Template:Is country in Central America
- Template:Is country in the Caribbean