模組:Location map/data/China Sichuan/doc
外觀
此頁面為 Module:Location map/data/China Sichuan 的說明文件
| 名稱 | 四川 | |||
|---|---|---|---|---|
| 邊界經緯 | ||||
| 34.5 | ||||
| 97.1 | ←↕→ | 108.7 | ||
| 25.8 | ||||
| 地圖中心 | 30°09′N 102°54′E / 30.15°N 102.9°E | |||
| 圖像 | China Sichuan adm location map.svg
| |||
| 圖像1 | China Sichuan rel location map.svg
| |||
Module:Location map/data/China Sichuan是用於在四川的等距長方投影地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度和經度坐標放置。
使用方法
以下模板均使用名為「China Sichuan」的參數:
{{Location map | China Sichuan | ...}}{{Location map many | China Sichuan | ...}}{{Location map+ | China Sichuan | ...}}{{Location map~ | China Sichuan | ...}}
地圖定義
name = 四川- 用於地圖描述的默認值
image = China Sichuan adm location map.svg- 默認地圖圖像,無"Image:"和"File:"前綴
image1 = China Sichuan rel location map.svg- 替代地圖圖像,通常是地形圖,可使用
relief或AlternativeMap參數顯示出來
- 替代地圖圖像,通常是地形圖,可使用
top = 34.5
bottom = 25.8- 地圖最南端的緯度,以十進制度數顯示。
left = 97.1- 地圖最西端的經度,以十進制度數顯示。
right = 108.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
精度
經度:這張地圖從西到東為11.6度。
- 如果圖像的寬度為200像素,則為每像素0.058度。
- 如果圖像的寬度為1000像素,則為每像素0.0116度。
緯度:這張地圖從北到南為8.7度。
- 如果圖像的垂直長度為200像素,則為每像素0.0435度。
- 如果圖像的垂直長度為1000像素,則為每像素0.0087度。
參見
位置圖模板
- Template:Location map ——使用緯度和經度顯示單個標記和標籤。
- Template:Location map many ——顯示高達9個標記和標籤。
- Template:Location map+ ——顯示無限數量的標記和標籤。