Jump to content

Module:Location map/data/Russia/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zyxw (talk | contribs) at 02:19, 17 June 2010 (moved categories and interwikis from main template, added brief documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Location map Russia is a location map definition used to overlay markers and labels on an equirectangular map of Russia. It is used by "Template:Location map" when invoked with parameter "Russia": {{Location map | Russia | ...}}. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

[[Image:Template:Location map/data/Russia|left|thumb|250px|Location map for Template:Location map/data/Russia]]

Map parameters
name Template:Location map/data/Russia name used in default map caption
image Template:Location map/data/Russia name of map, without "Image:" or "File:"
top Template:Location map/data/Russia latitude at top of map
bottom Template:Location map/data/Russia latitude at bottom of map
left Template:Location map/data/Russia longitude at left edge of map
right Template:Location map/data/Russia longitude at right edge of map
skew Template:Location map/data/Russia to narrow longitudes; see {{Location map skew}}
lat_skew Template:Location map/data/Russia to arc latitudes at edges; see {{Location map polarx}}

Usage

For a description of the parameters, see {{Location map}}.

Decimal coordinates, default caption

Moscow is located in Russia
Moscow
Moscow
Moscow (Russia)
{{Location map | Russia
| lat   = 55.751667
| long  = 37.617778
| label = Moscow
}}

Degree/minute/second coordinates, with caption

Lua error in Module:Location_map at line 392: The hemisphere "E" provided for latitude is not valid.

{{Location map | Russia
| width = 275
| lat_deg = 55 | lat_min = 45 | lat_sec = 6 | lat_dir = N
| lon_deg = 37 | lon_min = 37 | lon_sec = 4 | lat_dir = E
| label = Moscow
| mark = Gold_pog.svg
| background = gold
| caption = Location of [[Moscow]] in Russia
}}