Template talk:Mapeu

From Wikipedia, the free encyclopedia

Provides direct links to maps of locations in Europe.

Example:

{{mapeu|52.16|4.49|Leiden}} gives:

Maps of Leiden 52.16° N 4.49° E

MapQuest out 1 2 3 4 5 6 7 8 9 10 in
Multimap: scale 4M 2M 1M 500k 200k 100k 50k 25k 10k 5k
MSN Europe out 10 9 8 7 6 5 4 3 2 1 0 in
MSN World Atlas out 10 9 8 7 6 5 4 3 2 1 0 in

The maximum scale of the MSN World Atlas approximately corresponds to:

  • MapQuest zoom level 6, in the URL "zoom=5"; zoom level 1 ("zoom=0") is the smallest scale
  • Multimap scale 200k
  • MSN Europe zoom level 6; the range is 0-10, 0 is the largest scale

For countries outside Europe for which the highest resolution map links do not work, there is Template:maplr.

For countries with more or different map sites a separate template could be made.

"subst" can be used, e.g. {{subst:mapeu|52.16|4.49|Leiden}}; this allows comments within the template content. However, it may be wise not to apply subst to templates that call external URLs directly, in order not to have to change many links when the format of the URLs change. A version of mapeu etc. could be used where each map link is a template call.

Anyway, comments may well be put after the template content, as in this example, which uses the similar Template:Maplr.

See also Wikipedia talk:WikiProject Geographical coordinates.