Jump to content

Template:Countrymap/doc

From Wikipedia, the free encyclopedia

Usage[edit]

This template Country map provides an easy to use country map with links to categories (or articles) on the specific subject per country.

Only countries with an existing link are shown.

Parameters[edit]

1. Size of the map (default 720, displays the map 720x491px)
2. The prefix of the links (Default "Category:")
3. For each country a specific link can be specified. The name of the parameter is the ISO 3166-1 country code (and some ISO 3166-2 codes)

The country parameters are optional, and only to be used in case the default link provided by parameter 2 in combination with the list of countries provided does not correspond to the actual name of the category (or article)
See the country details below for a list of countries, their location and the ISO 3166-1 codes used as parameter

Example[edit]

On Category:Scouting and Guiding by country the following template can be placed:

{{Countrymap|720|Category:Scouting and Guiding in|}}

Or

{{Countrymap|720|Category:Scouting and Guiding in|
<!-- only exceptions listed below: -->
|BG=Category:Scouting in Bulgaria
|BT=Category:Scouting in Bhutan
}}

In this example the parameter BG= is needed because the category for Bulgaria is not called Category:Scouting and Guiding in Bulgaria.

Country details[edit]