Module:Location map/data/USA Illinois inset/doc

From blackwiki
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/USA Illinois inset

Map of Illinois (click on map to see larger image)

Template:Location map USA Illinois 2 is a location map definition used to overlay markers and labels on an equirectangular projection map of the U.S. state of Illinois. 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 "USA Illinois 2":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/USA Illinois inset) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Template:Location map/data/USA Illinois inset) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Precision

Longitude: from West to East this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image width of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image width of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Latitude: from North to South this map definition covers Expression error: Unrecognized punctuation character "[". degrees.

  • At an image height of 200 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.
  • At an image height of 1000 pixels, that is Expression error: Unrecognized punctuation character "[". degrees per pixel.

Examples using location map templates

Location map

Lua error in Module:Location_map at line 501: Unable to find the specified location map definition: "Module:Location map/data/USA Illinois 2" does not exist.

{{Location map | USA Illinois 2
| width   = 200
| lat_deg =  39 | lat_min = 46 | lat_sec = 59 | lat_dir = N 
| lon_deg = 089 | lon_min = 39 | lon_sec = 00 | lon_dir = W
| label   = Springfield
}}

Location map many

Lua error in Module:Location_map/multi at line 143: Unable to find the specified location map definition: "Module:Location map/data/USA Illinois 2" does not exist.

{{Location map many | USA Illinois 2
| width    = 200
| caption  = Locations in Illinois
| lat1 = 42.496 | long1 = -89.990 | label1 = Warren
| lat2 = 37.013 | long2 = -89.180 | label2 = Cairo
| lat3 = 40.148 | long3 = -91.504 | label3 = Meyer
| lat4 = 41.614 | long4 = -87.546 | label4 = Calumet City
}}

Location map+

Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/USA Illinois 2" does not exist.

{{Location map+ | USA Illinois 2
| width   = 200
| caption = Locations in Illinois
| places  =
  {{Location map~ | USA Illinois 2
  | lat = 42.496 | long = -89.990 | label = Warren
  }}
  {{Location map~ | USA Illinois 2
  | lat = 37.013 | long = -89.180 | label = Cairo
  }}
  {{Location map~ | USA Illinois 2
  | lat = 40.148 | long = -91.504 | label = Meyer
  }}
  {{Location map~ | USA Illinois 2
  | lat = 41.614 | long = -87.546 | label = Calumet City
  }}
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List