Module:Location map/data/Tunisia/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>JJMC89 bot III at 16:49, 6 July 2023 (Moving Category:Tunisia location map templates to Category:Tunisia location map modules per Wikipedia:Categories for discussion/Speedy). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Location map of Tunisia
name Tunisia
border
coordinates
37.7
7.2 ←↕→ 11.9
30
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Tunisia adm location map.svg
File:Tunisia adm location map.svg
image1 Tunisian Republic location map Topographic.png
File:Tunisian Republic location map Topographic.png
File:Tunisia-CIA WFB Map.png
Map of Tunisia

Module:Location map/data/Tunisia is a location map definition used to overlay markers and labels on an equirectangular projection map of Tunisia. 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 "Tunisia":

Map definition

  • name = Tunisia
    Name used in the default map caption
  • bottom = 30
    Latitude at bottom edge of map, in decimal degrees
  • left = 7.2
    Longitude at left edge of map, in decimal degrees
  • right = 11.9
    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 4.7 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

{{Location map | Tunisia
| width   = 150
| lat_deg = 36.8
| lon_deg = 10.183
| label   = Tunis
}}

Location map many, using relief map (image1)

{{Location map many | Tunisia
| relief   = yes
| width    = 150
| caption  = Two locations in Tunisia
| lat1_deg = 36.8
| lon1_deg = 10.183
| label1   = Tunis
| pos1     = top
| lat2_deg = 34.733
| lon2_deg = 10.767
| label2   = Sfax
| pos2     = bottom
}}

Location map+, using AlternativeMap

{{Location map+ | Tunisia
| AlternativeMap = Tunisian Republic location map Topographic.png
| width   = 150
| caption = Two locations in Tunisia
| places  =
  {{Location map~ | Tunisia
  | lat_deg  = 36.8
  | lon_deg  = 10.183
  | label    = Tunis
  | position = top
  }}
  {{Location map~ | Tunisia
  | lat_deg  = 34.733
  | lon_deg  = 10.767
  | label    = Sfax
  | position = bottom
  }}
}}

See also

Location map templates

Creating new map definitions