モジュール:Location map/data/Democratic Republic of the Congo
表示
| 名称 | コンゴ民主共和国 | |||
|---|---|---|---|---|
| 境界の経緯 | ||||
| 6 | ||||
| 11 | ←↕→ | 32 | ||
| -14 | ||||
| 地図の中心 | 南緯4度00分 東経21度30分 / 南緯4度 東経21.5度 | |||
| 画像 | Democratic Republic of the Congo adm location map.svg
| |||
| 画像1 | Democratic Republic of the Congo relief location map.jpg
| |||

モジュール:Location map/data/Democratic Republic of the Congoはコンゴ民主共和国の正距円筒図法地図でオーバーレイのマーカー・ラベルを表示するのに使用する地点図のLuaモジュールです。マーカーは既定値の地図や同じような地図画像において緯度と経度の座標に基いて置かれます。
使用法
次のテンプレートで"Democratic Republic of the Congo"というパラメータを使用します:
{{Location map | Democratic Republic of the Congo | ...}}{{Location map many | Democratic Republic of the Congo | ...}}{{Location map+ | Democratic Republic of the Congo | ...}}{{Location map~ | Democratic Republic of the Congo | ...}}
地図パラメータ
name = コンゴ民主共和国- モジュール名は地図説明文の既定値になります
image = Democratic Republic of the Congo adm location map.svg- 既定値の地図画像で"Image:"や"File:"は指定しません。
image1 = Democratic Republic of the Congo relief location map.jpg- 代替地図画像で、通常は地形図をreliefかAlternativeMapというパラメータで指定して表示します。
top = 6
bottom = -14- 地図最南端の緯度を十進角で表記します。
left = 11- 地図最西端の経度を十進角で表記します。
right = 32- 地図最東端の経度を十進角で表記します。
代替地図
image1 (Democratic Republic of the Congo relief location map.jpg)で定義された地図は{{Location map}}、{{Location map many}}、{{Location map+}}といったテンプレートの「relief」か「AlternativeMap」のパラメータを使って表示できます。
これら2つのパラメータは以下の使用例で示しています。さらなる使用例は次のテンプレートにあります。:
精度
経度: この地図は西から東まで21度です。
- 画像の幅が200ピクセルの場合は1ピクセルにつき0.105度です。
- 画像の幅が1000ピクセルの場合は1ピクセルにつき0.021度です。
緯度: この地図は北から南まで20度です。
- 画像の縦の長さが200ピクセルの場合は1ピクセルにつき0.1度です。
- 画像の縦の長さが1000ピクセルの場合は1ピクセルにつき0.02度です。== Location mapテンプレート使用例 ==
Location map, using default map (image)
{{Location map | Democratic Republic of the Congo
| width = 250
| lat_deg = -4.33
| lon_deg = 15.32
| label = Kinshasa
}}
Location map many, using relief map (image1)
{{Location map many | Democratic Republic of the Congo
| relief = yes
| width = 250
| caption = Democratic Republic of the Congo
| lat1_deg = -4.33
| lon1_deg = 15.32
| label1 = Kinshasa
| lat2_deg = -11.67
| lon2_deg = 27.47
| label2 = Lubumbashi
| lat3_deg = 4.28
| lon3_deg = 21.02
| label3 = Gbadolite
}}
Location map+, using AlternativeMap
{{Location map+ | Democratic Republic of the Congo
| AlternativeMap = Democratic Republic of the Congo
relief location map.jpg
| width = 250
| caption = Democratic Republic of the Congo
| places =
{{Location map~ | Democratic Republic of the Congo
| lat_deg = -4.33
| lon_deg = 15.32
| label = Kinshasa
}}
{{Location map~ | Democratic Republic of the Congo
| lat_deg = -11.67
| lon_deg = 27.47
| label = Lubumbashi
}}
{{Location map~ | Democratic Republic of the Congo
| lat_deg = 4.28
| lon_deg = 21.02
| label = Gbadolite
}}
}}
関連項目
Location mapテンプレート
- Template:Location map - 緯度と経度を使って1つのマークとラベルを表示します。
- Template:Location map many - 9つまでのマークとラベルを表示します。
- Template:Location map+ - 無制限にマークとラベルを表示できます。