跳转到内容

模组: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
  }}
}}

参见

位置图模板

创建新的地图模块