モジュール:Location map/data/Ireland
表示
| 名称 | アイルランド | |||
|---|---|---|---|---|
| 境界の経緯 | ||||
| 55.6 | ||||
| -11 | ←↕→ | -5 | ||
| 51.2 | ||||
| 地図の中心 | 北緯53度24分 西経8度00分 / 北緯53.4度 西経8度 | |||
| 画像 | Ireland adm location map.svg
| |||
| 画像1 | Ireland relief location map.png
| |||

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