模組:Location map/data/Syria
外观
| 名稱 | 叙利亚 | |||
|---|---|---|---|---|
| 邊界經緯 | ||||
| 37.6 | ||||
| 34.9 | ←↕→ | 42.7 | ||
| 32 | ||||
| 地圖中心 | 34°48′N 38°48′E / 34.8°N 38.8°E | |||
| 圖像 | Syria adm location map.svg
| |||
| 圖像1 | Syria physical location map.svg
| |||

Module:Location map/data/Syria是用於在叙利亚的等距長方投影地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度和經度坐標放置。
使用方法
以下模板均使用名為“Syria”的參數:
{{Location map | Syria | ...}}{{Location map many | Syria | ...}}{{Location map+ | Syria | ...}}{{Location map~ | Syria | ...}}
地圖定義
name = 叙利亚- 用於地圖描述的默認值
image = Syria adm location map.svg- 默認地圖圖像,無"Image:"和"File:"前綴
image1 = Syria physical location map.svg- 替代地圖圖像,通常是地形圖,可使用
relief或AlternativeMap參數顯示出來
- 替代地圖圖像,通常是地形圖,可使用
top = 37.6
bottom = 32- 地圖最南端的緯度,以十進制度數顯示。
left = 34.9- 地圖最西端的經度,以十進制度數顯示。
right = 42.7- 地圖最東端的經度,以十進制度數顯示。
替代地圖
{{Location map}}、{{Location map many}}和{{Location map+}}模板可使用參數來指定替代地圖圖像。image1的地圖可以使用relief和AlternativeMap參數顯示出來。 您可以在以下模板中找到更多範例:
- Template:Location map#地形图参数
- Template:Location map+/relief
- Template:Location map#置换成其它地图的参数(AlternativeMap)
- Template:Location map+/AlternativeMap
精度
經度:這張地圖從西到東為7.8度。
- 如果圖像的寬度為200像素,則為每像素0.039度。
- 如果圖像的寬度為1000像素,則為每像素0.0078度。
緯度:這張地圖從北到南為5.6度。
- 如果圖像的垂直長度為200像素,則為每像素0.028度。
- 如果圖像的垂直長度為1000像素,則為每像素0.0056度。
位置圖模板使用範例
Location map, using default map (image)
{{Location map | Syria
| width = 250
| lat_deg = 33.513
| lon_deg = 36.292
| label = Damascus
}}
Location map many, using relief map (image1)
Three locations in Syria
{{Location map many | Syria
| relief = yes
| width = 250
| caption = Three locations in Syria
| lat1_deg = 33.513
| lon1_deg = 36.292
| label1 = Damascus
| lat2_deg = 36.217
| lon2_deg = 37.167
| label2 = Aleppo
| lat3_deg = 37.167
| lon3_deg = 42.133
| label3 = Al-Malikiyah
}}
Location map+, using AlternativeMap
Three locations in Syria
{{Location map+ | Syria
| AlternativeMap = Syria physical location map.svg
| width = 250
| caption = Three locations in Syria
| places =
{{Location map~ | Syria
| lat_deg = 33.513
| lon_deg = 36.292
| label = Damascus
}}
{{Location map~ | Syria
| lat_deg = 36.217
| lon_deg = 37.167
| label = Aleppo
}}
{{Location map~ | Syria
| lat_deg = 37.167
| lon_deg = 42.133
| label = Al-Malikiyah
}}
}}
參見
位置圖模板
- Template:Location map ——使用緯度和經度顯示單個標記和標籤。
- Template:Location map many ——顯示高達9個標記和標籤。
- Template:Location map+ ——顯示無限數量的標記和標籤。
創建新的地圖模塊