跳转到内容

模組:Location map/data/Antarctica/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

这是Module:Location map/data/Antarctica的文档页面

南极洲 位置圖
名稱 南极洲
x 50 + 5/3 * (90+$1) * sin( pi / 180 *$2)
y 50 - 5/3 * (90+$1) * cos( pi / 180 *$2)
圖像 Antarctica location map.svg
圖像1 Antarctica relief location map.jpg


Module:Location map/data/Antarctica是用於在南极洲方位等距投影地圖上疊加標記和標籤的位置圖定義。標記是按默認的地圖或類似地圖圖像上的緯度經度坐標放置。

使用方法

以下模板均使用名為“Antarctica”的參數:

地圖定義

  • name = 南极洲
    用於地圖描述的默認值
  • image = Antarctica location map.svg
    默認地圖圖像,無"Image:"和"File:"前綴
  • image1 = Antarctica relief location map.jpg
    替代地圖圖像,通常是地形圖,可使用reliefAlternativeMap參數顯示出來
  • x = 50 + 5/3 * (90+$1) * sin( pi / 180 *$2)
    根據經度計算地圖上位置的公式;最西端為0,最東端為100。
  • y = 50 - 5/3 * (90+$1) * cos( pi / 180 *$2)
    根據緯度計算地圖上位置的公式;最北端為0,最南端為100。

替代地圖

{{Location map}}、{{Location map many}}和{{Location map+}}模板可使用參數來指定替代地圖圖像。image1的地圖可以使用reliefAlternativeMap參數顯示出來。 您可以在以下模板中找到更多範例:

位置圖模板使用範例

位置地图,使用默认地图(图像)

Mount Erebus在南极洲的位置
Mount Erebus
Mount Erebus
Mount Erebus (南极洲)
{{Location map | Antarctica
| width   = 200
| label   = Mount Erebus
| lat_deg = -77.53
| lon_deg = 167.15
}}

多个位置图,使用地形图(图1)

Location map/data/Antarctica/doc在南极洲的位置
Mount Erebus
Mount Erebus
Amundsen-Scott Station
Amundsen-Scott Station
Two locations in Antarctica
{{Location map many | Antarctica
| relief   = yes
| width    = 200
| caption  = Two locations in Antarctica
| label1   = Mount Erebus
| lat1_deg = -77.53
| lon1_deg = 167.15
| label2   = Amundsen-Scott Station
| lat2_deg = -90
| lon2_deg = -139.27
}}

使用备用地图的位置图

Location map/data/Antarctica/doc在南极洲的位置
Mount Erebus
Mount Erebus
Amundsen-Scott Station
Amundsen-Scott Station
Two locations in Antarctica
{{Location map+ | Antarctica
| AlternativeMap = Antarctica relief location map.jpg
| width   = 200
| caption = Two locations in Antarctica
| places  =
  {{Location map~ | Antarctica
  | label   = Mount Erebus
  | lat_deg = -77.53
  | lon_deg = 167.15
  }}
  {{Location map~ | Antarctica
  | label   = Amundsen-Scott Station
  | lat_deg = -90
  | lon_deg = -139.27
  }}
}}

參見

位置圖模板

創建新的地圖模塊