This page is protected against editing.

Template:Continentbycountry

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Continentbycountry/doc.

Returns the English name of the continent when given the English name of a country.

Usage

{{Continentbycountry |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1Country nameemptyrequired
2Value 1 returns first continent, where the country is placed, value 2 - second (if the country is on more than one continent), value 3 - third. For example: {{Continentbycountry|Russia|1}} returns "Europe", {{Continentbycountry|Russia|2}} returns "Asia".emptyrequired

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Example

{{Continentbycountry|France}}

renders as: