الگو:Location map Bulgaria/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد
Map of Bulgaria

Template:Location map Bulgaria is a location map definition used to overlay markers and labels on an equirectangular projection map of بلغارستان. The markers are placed by عرض جغرافیایی and طول جغرافیایی coordinates on the default map or a similar map image.

Usage[ویرایش]

These definitions are used by the following templates when invoked with parameter "Bulgaria":

Map definition[ویرایش]

  • name = بلغارستان
    Name used in the default map caption
  • image1 = Relief Map of Bulgaria.jpg
    An alternative map image, usually a relief map, can be displayed via the relief or AlternativeMap parameters
  • bottom = 41.1
    Latitude at bottom edge of map, in decimal degrees
  • right = 28.9
    Longitude at right edge of map, in decimal degrees

Alternative map[ویرایش]

The map defined as image1 (Relief Map of Bulgaria.jpg) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates[ویرایش]

Location map, using default map (image)[ویرایش]

Sofia در بلغارستان واقع شده
Sofia
Sofia
Sofia (بلغارستان)
{{Location map | Bulgaria
| width   = 250
| label   = Sofia
| lat_deg = 42.7
| lon_deg = 23.33
}}

Location map many, using relief map (image1)[ویرایش]

Location map Bulgaria/توضیحات در بلغارستان واقع شده
Sofia
Sofia
Varna
Varna
Two locations in Bulgaria
{{Location map many | Bulgaria
| relief   = yes
| width    = 250
| caption  = Two locations in Bulgaria
| label1   = Sofia
| lat1_deg = 42.7
| lon1_deg = 23.33
| label2   = Varna
| lat2_deg = 43.217
| lon2_deg = 27.917
}}

Location map+, using AlternativeMap[ویرایش]

Location map Bulgaria/توضیحات در بلغارستان واقع شده
Sofia
Sofia
Varna
Varna
Two locations in Bulgaria


{{Location map+ | Bulgaria
| AlternativeMap = Relief Map of Bulgaria.jpg
| width   = 250
| caption = Two locations in Bulgaria
| places  =
  {{Location map~ | Bulgaria
  | label   = Sofia
  | lat_deg = 42.7
  | lon_deg = 23.33
  }}
  {{Location map~ | Bulgaria
  | label   = Varna
  | lat_deg = 43.217
  | lon_deg = 27.917
  }}
}}

See also[ویرایش]

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