モジュール:Location map/data/UK Northern Ireland
表示
| 名称 | 北アイルランド | |||
|---|---|---|---|---|
| 境界の経緯 | ||||
| 55.4 | ||||
| -8.3 | ←↕→ | -5.3 | ||
| 53.9 | ||||
| 地図の中心 | 北緯54度39分 西経6度48分 / 北緯54.65度 西経6.8度 | |||
| 画像 | United Kingdom Northern Ireland adm location map.svg
| |||
| 画像1 | Relief Map of Northern Ireland.png
| |||

モジュール:Location map/data/UK Northern Irelandは北アイルランドの正距円筒図法地図でオーバーレイのマーカー・ラベルを表示するのに使用する地点図のLuaモジュールです。マーカーは既定値の地図や同じような地図画像において緯度と経度の座標に基いて置かれます。
使用法
次のテンプレートで"UK Northern Ireland"というパラメータを使用します:
{{Location map | UK Northern Ireland | ...}}{{Location map many | UK Northern Ireland | ...}}{{Location map+ | UK Northern Ireland | ...}}{{Location map~ | UK Northern Ireland | ...}}
地図パラメータ
name = 北アイルランド- モジュール名は地図説明文の既定値になります
image = United Kingdom Northern Ireland adm location map.svg- 既定値の地図画像で"Image:"や"File:"は指定しません。
image1 = Relief Map of Northern Ireland.png- 代替地図画像で、通常は地形図をreliefかAlternativeMapというパラメータで指定して表示します。
top = 55.4
bottom = 53.9- 地図最南端の緯度を十進角で表記します。
left = -8.3- 地図最西端の経度を十進角で表記します。
right = -5.3- 地図最東端の経度を十進角で表記します。
代替地図
image1 (Relief Map of Northern Ireland.png)で定義された地図は{{Location map}}、{{Location map many}}、{{Location map+}}といったテンプレートの「relief」か「AlternativeMap」のパラメータを使って表示できます。
これら2つのパラメータは以下の使用例で示しています。さらなる使用例は次のテンプレートにあります。:
精度
経度: この地図は西から東まで3度です。
- 画像の幅が200ピクセルの場合は1ピクセルにつき0.015度です。
- 画像の幅が1000ピクセルの場合は1ピクセルにつき0.003度です。
緯度: この地図は北から南まで1.5度です。
- 画像の縦の長さが200ピクセルの場合は1ピクセルにつき0.0075度です。
- 画像の縦の長さが1000ピクセルの場合は1ピクセルにつき0.0015度です。== Location mapテンプレート使用例 ==
Location map, using default map (image)
{{Location map | Northern Ireland
| width = 250
| lat_deg = 54.6
| lon_deg = -5.93
| label = ベルファスト
}}
Location map many, using relief map (image1)
{{Location map many | Northern Ireland
| relief = yes
| width = 250
| caption = Two locations in Northern Ireland
| lat1_deg = 54.6
| lon1_deg = -5.93
| label1 = ベルファスト
| lat2_deg = 54.99
| lon2_deg = -7.31
| label2 = デリー
}}
Location map+, using AlternativeMap
{{Location map+ | Northern Ireland
| AlternativeMap = Relief Map of Northern Ireland.png
| width = 250
| caption = Two locations in Northern Ireland
| places =
{{Location map~ | Northern Ireland
| lat_deg = 54.6
| lon_deg = -5.93
| label = ベルファスト
}}
{{Location map~ | Northern Ireland
| lat_deg = 54.99
| lon_deg = -7.31
| label = デリー
}}
}}
関連項目
Location mapテンプレート
- Template:Location map - 緯度と経度を使って1つのマークとラベルを表示します。
- Template:Location map many - 9つまでのマークとラベルを表示します。
- Template:Location map+ - 無制限にマークとラベルを表示できます。