الگو:Location map Haiti/توضیحات
این زیرصفحهٔ مستندات الگو:Location map Haiti است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
Template:Location map Haiti 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 "Haiti":
{{Location map|Haiti |...}}
{{Location map many|Haiti |...}}
{{Location map+|Haiti |...}}
{{Location map~|Haiti |...}}
Map definition ویرایش
- name
- used in default map caption (هائیتی)
- image
- the default map image, without "Image:" or "File:" (Haiti relief location map.jpg)
- image1
- an alternative map image, usually a relief map ([[:File:|]])
- top
- عرض جغرافیایی at top edge of map, in decimal degrees (20.2)
- bottom
- latitude at bottom edge of map, in decimal degrees (17.9)
- left
- طول جغرافیایی at left edge of map, in decimal degrees (-74.6)
- right
- longitude at right edge of map, in decimal degrees (-71.5)
Alternative map ویرایش
The map defined as image1 () can be displayed by using the AlternativeMap or relief parameters in {{Location map}}, {{Location map many}} and {{Location map+}}. Further instructions can be found at Template:Location map#Using Alternative Map and Template:Location map#Relief, or see the examples below.
Examples ویرایش
Location map, using default map (image) ویرایش
{{Location map | Haiti | width = 200 | lat = 18.53 | long = -72.33 | label = Port-au-Prince }}
Location map, using relief map (image1) ویرایش
{{Location map | Haiti | relief = yes | width = 200 | lat = 18.53 | long = -72.33 | label = Port-au-Prince }}
Location map many, using default map ویرایش
{{Location map many | Haiti | caption = Two locations in Haiti | width = 200 | lat = 18.53 | long = -72.33 | label = Port-au-Prince | lat2 = 19.75 | long2 = -72.20 | label2 = Cap-Haïtien }}
Location map+, using AlternativeMap ویرایش
{{Location map+ | Haiti | AlternativeMap = Haiti relief location map.jpg | caption = Two locations in Haiti | width = 200 | places = {{Location map~ | Haiti | lat = 18.53 | long = -72.33 | label = Port-au-Prince }} {{Location map~ | Haiti | lat = 19.75 | long = -72.20 | label = Cap-Haïtien }} }}