Modul:Location map/data/Japan

Saking Wikipédia
Loncat ke navigasi Loncat ke pencarian

Mal:High-use


Lokasi peta dari Japan
name Japan
x 100*(($1>30.90)*($2-128.24)/(149.27-128.24)+($1<=30.90)*($2-110.43)/(131.44-110.43))
y 100*(($1>30.90)*($1-45.86)/(30.02-45.86)+($1<=30.90)*($1-39.54)/(23.71-39.54))
image Japan location map with side map of the Ryukyu Islands.svg
Japan location map with side map of the Ryukyu Islands.svg
image1 Japan natural location map with side map of the Ryukyu Islands.jpg
Japan natural location map with side map of the Ryukyu Islands.jpg
image2 Japan bluemarble location map with side map of the Ryukyu Islands.jpg
Japan bluemarble location map with side map of the Ryukyu Islands.jpg
Map of Japan

Modul:Location map/data/Japan merupakan definisi peta yang dipakai untuk memberikan tanda dan label pada peta Japan dengan proyeksi equirectangular. Penempatan penanda berdasarkan koordinat Garis Lintang dan Bujur pada peta standar atau gambar peta yang serupa.

Penggunaan

Definisi ini digunakan pada templat-templat berikut ketika dipanggil menggunakan parameter "Japan":


Definisi Peta

  • name = Japan
    Nama yang dipakai pada keterangan peta standar
  • y = 100*(($1>30.90)*($1-45.86)/(30.02-45.86)+($1<=30.90)*($1-39.54)/(23.71-39.54))
    Sebuah ekspresi untuk mengkalkulasi suatu lokasi melalui Garis Lintang-nya; nilai 0 sepanjang tepi atas dan 100 pada tepi bawah

Peta alternatif

Peta yang didefinisikan sebagai image1 (Japan natural location map with side map of the Ryukyu Islands.jpg) bisa ditampilkan menggunakan parameter relief atau AlternativeMap dalam {{Location map}}, {{Location map many}} dan {{Location map+}}. Peta yang didefinisikan sebagai image2 (Japan bluemarble location map with side map of the Ryukyu Islands.jpg) hanya bisa ditampilkan menggunakan parameter AlternativeMap. Penggunaan kedua parameter ini ditunjukkan pada contoh di bawah. Contoh lainnya bisa ditemukan di:

Contoh penggunaan templat location map

Location map, using default map (image)

Fukuoka magenah ring Japan
Fukuoka
Fukuoka
Fukuoka (Japan)
{{Location map |Japan
|label = Fukuoka
|coordinates = {{coord|33|35|N|130|24|E|display=inline}}
}}


Location map many, using relief map (image1)

Location map/data/Japan magenah ring Japan
Locations in Japan and Ryukyu Islands
{{Location map many |Japan
|relief = yes
|caption = Locations in [[Japan]] and [[Ryukyu Islands]]
|background = lightgrey
|label1 = Fukuoka
|coordinates1 = {{coord|33|35|N|130|24|E|display=inline}}
|label2 = Naha
|coordinates2 = {{coord|26|12|N|127|41|E|display=inline}}
}}


Location map+, using AlternativeMap

Location map/data/Japan magenah ring Japan
Fukuoka
Fukuoka
Naha
Naha
Locations in Japan and Ryukyu Islands
{{Location map+ |Japan
|AlternativeMap = Japan bluemarble location map with
                  side map of the Ryukyu Islands.jpg
|caption = Locations in [[Japan]] and [[Ryukyu Islands]]
|places =
  {{Location map~ |Japan
  |background = lightgrey
  |label = Fukuoka
  |coordinates = {{coord|33|35|N|130|24|E|display=inline}}
  }}
  {{Location map~ |Japan
  |label = Naha
  |coordinates = {{coord|26|12|N|127|41|E|display=inline}}
  }}
}}


Examples using Infobox settlement

Main islands north of 30.90°N, with default map image

Fukuoka
CountryJapan
RegionKyūshū
PrefectureFukuoka
{{Infobox settlement
|name               = Fukuoka
|subdivision_type   = Country
|subdivision_name   = Japan
|subdivision_type1  = Region
|subdivision_name1  = Kyūshū
|subdivision_type2  = Prefecture
|subdivision_name2  = Fukuoka
|pushpin_map        = Japan
|coordinates        = {{coord|33|35|N|130|24|E|region:JP|display=inline}}
}}


Ryukyu Islands south of 30.90°N, with alternative map image

Naha
CountryJapan
RegionKyūshū
PrefectureOkinawa
{{Infobox settlement
|name               = Naha
|subdivision_type   = Country
|subdivision_name   = [[Japan]]
|subdivision_type1  = Region
|subdivision_name1  = Kyūshū
|subdivision_type2  = Prefecture
|subdivision_name2  = Okinawa
|pushpin_map        = Japan
|pushpin_image      = Japan natural location map with
                      side map of the Ryukyu Islands.jpg
|coordinates        = {{coord|26|12|N|127|41|E|region:JP|display=inline}}
}}

Lihat juga

Templat location map

return {
	name = 'Japan',
	x = '100*(($1>30.90)*($2-128.24)/(149.27-128.24)+($1<=30.90)*($2-110.43)/(131.44-110.43))',
	y = '100*(($1>30.90)*($1-45.86)/(30.02-45.86)+($1<=30.90)*($1-39.54)/(23.71-39.54))',
	image = 'Japan location map with side map of the Ryukyu Islands.svg',
	image1 = 'Japan natural location map with side map of the Ryukyu Islands.jpg',
	image2 = 'Japan bluemarble location map with side map of the Ryukyu Islands.jpg'
}