Difference between revisions of "Template:Countrymap"
Jump to navigation
Jump to search
imported>Varnent m (Category:Dynamic map templates) |
imported>John of Reading (→Documentation: Typo fixing, replaced: Brittain → Britain (3) using AWB) |
||
| Line 209: | Line 209: | ||
<tr><td> 79.2 </td><td> Wales </td><td> 52.48 </td><td> -3.57 </td><td> WLS </td></tr> | <tr><td> 79.2 </td><td> Wales </td><td> 52.48 </td><td> -3.57 </td><td> WLS </td></tr> | ||
<tr><td> 79.1 </td><td> England </td><td> 52.02 </td><td> -0.08 </td><td> ENG </td></tr> | <tr><td> 79.1 </td><td> England </td><td> 52.02 </td><td> -0.08 </td><td> ENG </td></tr> | ||
| − | <tr><td> 79.06 </td><td> Great | + | <tr><td> 79.06 </td><td> Great Britain </td><td> 53.69 </td><td> -1.40 </td><td> GB </td></tr> |
<tr><td> 79.03 </td><td> the UK </td><td> 53.69 </td><td> -1.40 </td><td> GB </td></tr> | <tr><td> 79.03 </td><td> the UK </td><td> 53.69 </td><td> -1.40 </td><td> GB </td></tr> | ||
<tr><td> 79.02 </td><td> UK </td><td> 53.69 </td><td> -1.40 </td><td> GB </td></tr> | <tr><td> 79.02 </td><td> UK </td><td> 53.69 </td><td> -1.40 </td><td> GB </td></tr> | ||
| Line 501: | Line 501: | ||
-->{{countryonmap|{{{1|720}}}| {{{WLS| {{{2|Category:}}} Wales}}} | Wales | 5 | 207 | 504 |px}}<!-- | -->{{countryonmap|{{{1|720}}}| {{{WLS| {{{2|Category:}}} Wales}}} | Wales | 5 | 207 | 504 |px}}<!-- | ||
-->{{countryonmap|{{{1|720}}}| {{{ENG| {{{2|Category:}}} England}}} | England | 5 | 209 | 515 |px}}<!-- | -->{{countryonmap|{{{1|720}}}| {{{ENG| {{{2|Category:}}} England}}} | England | 5 | 209 | 515 |px}}<!-- | ||
| − | -->{{countryonmap|{{{1|720}}}| {{{GB| {{{2|Category:}}} Great | + | -->{{countryonmap|{{{1|720}}}| {{{GB| {{{2|Category:}}} Great Britain}}} | Great Britain | 10 | 200 | 511 |px}}<!-- |
-->{{countryonmap|{{{1|720}}}| {{{GB| {{{2|Category:}}} the UK}}} | the UK | 10 | 200 | 511 |px}}<!-- | -->{{countryonmap|{{{1|720}}}| {{{GB| {{{2|Category:}}} the UK}}} | the UK | 10 | 200 | 511 |px}}<!-- | ||
-->{{countryonmap|{{{1|720}}}| {{{GB| {{{2|Category:}}} UK}}} | UK | 10 | 200 | 511 |px}}<!-- | -->{{countryonmap|{{{1|720}}}| {{{GB| {{{2|Category:}}} UK}}} | UK | 10 | 200 | 511 |px}}<!-- | ||
Revision as of 09:05, 6 September 2014
Documentation
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:
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 paramater 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:
On Category:Churches by country the following template can be placed:
- {{Countrymap|720|Category:Churches in}}
Or
- {{Countrymap|720|Category:Churches in |
- <!-- only exceptions listed below: -->
- |MH=Category:Churches on the Marshall Islands
- }}
- <!-- only exceptions listed below: -->
- In this example the parameter MH= is needed because the category for the Marshall Islands is not called Category:Churches in the Marshall Islands but Category:Churches on the Marshall Islands.