Harta Shqipëria
name Shqipëria
border
coordinates
42.9
18.3 ←↕→ 21.5
39.3
map center 41°06′N 19°54′E / 41.1°N 19.9°E / 41.1; 19.9
image Albania location map.svg
image1 Albania relief location map.svg
Map of Albania

Moduli:Harta/të dhënat/Shqipëria is a location map definition used to overlay markers and labels on an equirectangular projection map of [[Script error: No such module "Harta".]]. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Përdorimi

These definitions are used by the following templates when invoked with parameter "Shqipëria":

Map definition

  • name = Script error: No such module "Harta".
    Name used in the default map caption
  • image = [[:File:Script error: No such module "Harta".|Script error: No such module "Harta".]]
    The default map image, without "Image:" or "File:"
  • image1 = [[:File:Script error: No such module "Harta".|Script error: No such module "Harta".]]
    An alternative map image, usually a relief map, can be displayed via the relief or AlternativeMap parameters
  • image2 = [[:File:Script error: No such module "Harta".|Script error: No such module "Harta".]]
    A second alternative map image, can be displayed via the AlternativeMap parameter only
  • top = Script error: No such module "Harta".
    Latitude at top edge of map, in decimal degrees
  • bottom = Script error: No such module "Harta".
    Latitude at bottom edge of map, in decimal degrees
  • left = Script error: No such module "Harta".
    Longitude at left edge of map, in decimal degrees
  • right = Script error: No such module "Harta".
    Longitude at right edge of map, in decimal degrees
  • x = Script error: No such module "Harta".
    An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
  • y = Script error: No such module "Harta".
    An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
  • mark = [[:File:Script error: No such module "Harta".|Script error: No such module "Harta".]] ([[File:Script error: No such module "Harta".|Script error: No such module "Harta".|8px]])
    The default mark image to display with this map. This can be overridden by the mark parameter in Template:Location map, which would otherwise default to Red pog.svg ( ).
  • marksize = Script error: No such module "Harta".
    The default mark size (in pixels) for the mark image displayed with this map (should not include px, for example marksize=Script error: No such module "Harta"., not marksize=Script error: No such module "Harta".px). This can be overridden by the marksize parameter in Template:Location map, which would otherwise default to 8.

Alternative map

The map defined as image1 (Script error: No such module "Harta".) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The map defined as image2 (Script error: No such module "Harta".) 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 Gabim shprehjeje: Operator i papritur < degrees.

  • At an image width of 200 pixels, that is Gabim shprehjeje: Operator i papritur < degrees per pixel.
  • At an image width of 1000 pixels, that is Gabim shprehjeje: Operator i papritur < degrees per pixel.

Latitude: from North to South this map definition covers Gabim shprehjeje: Operator i papritur < degrees.

  • At an image height of 200 pixels, that is Gabim shprehjeje: Operator i papritur < degrees per pixel.
  • At an image height of 1000 pixels, that is Gabim shprehjeje: Operator i papritur < degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Lua error te Moduli:Location_map te rreshti 424: No value was provided for longitude.

{{Location map | Shqipëria
| width   = 150
| lat_deg = 41.33
| lon_deg = 19.82
| label   = Tirana
}}

Location map many, using relief map (image1)

Harta/të dhënat/Shqipëria/doc (Earth)
{{Location map many | Shqipëria
| relief   = yes
| width    = 150
| caption  = Two locations in Albania
| lat1_deg = 41.33
| lon1_deg = 19.82
| label1   = Tirana
| lat2_deg = 40.62
| lon2_deg = 20.77
| label2   = Korçë
}}

Location map+, using AlternativeMap

Harta/të dhënat/Shqipëria/doc (Earth)
{{Location map+ | Shqipëria
| AlternativeMap = Albania relief location map.jpg
| width   = 150
| caption = Two locations in Albania
| places  =
  {{Location map~ | Shqipëria
  | lat_deg = 41.33
  | lon_deg = 19.82
  | label   = Tirana
  }}
  {{Location map~ | Shqipëria
  | lat_deg = 40.62
  | lon_deg = 20.77
  | label   = Korçë
  }}
}}

See also

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

Stampa:Location map/doc/See also infobox templates