Difference between revisions of "Module:Location map/data/United Kingdom West Midlands/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m (Frietjes moved page Template:Location map United Kingdom West Midlands to Module:Location map/data/United Kingdom West Midlands/doc: preserve attribution history after merge with module)
blackwiki>Frietjes
Line 1: Line 1:
{{#switch:{{{1}}}
+
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
|name  = West Midlands county
+
{{Module:Location map/data/doc
|top    = 52.68
+
|image=
|bottom = 52.33
+
|examples=
|left  = -2.22
+
|see also=
|right  = -1.40
+
* [[Module:Location map/data/United Kingdom]]
|image  = West Midlands UK location map.svg
+
* [[Module:Location map/data/United Kingdom England]]
|image1 = West Midlands UK relief location map.jpg
+
}}
}}<noinclude>{{Location map/Info}}
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 +
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:English county location map templates|West Midlands]]
 
[[Category:English county location map templates|West Midlands]]
 
+
}}</includeonly>
</noinclude>
 

Revision as of 19:27, 12 March 2018


Location map of West Midlands county
name West Midlands county
border
coordinates
52.68
-2.22 ←↕→ -1.4
52.33
map center Lua error: callParserFunction: function "#coordinates" was not found.
image West Midlands UK location map.svg
West Midlands UK location map.svg
image1 West Midlands UK relief location map.jpg
West Midlands UK relief location map.jpg


Module:Location map/data/United Kingdom West Midlands is a location map definition used to overlay markers and labels on an equirectangular projection map of West Midlands county. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "United Kingdom West Midlands":

Map definition

  • name = West Midlands county
    Name used in the default map caption
  • bottom = 52.33
    Latitude at bottom edge of map, in decimal degrees
  • left = -2.22
    Longitude at left edge of map, in decimal degrees
  • right = -1.4
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

Longitude: from West to East this map definition covers 0.82 degrees.

  • At an image width of 200 pixels, that is 0.0041 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0008 degrees per pixel.

Latitude: from North to South this map definition covers 0.35 degrees.

  • At an image height of 200 pixels, that is 0.0018 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0004 degrees per pixel.


See also

Location map templates

Creating new map definitions