Jump to content

Module:Location map/data/Japan/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by WOSlinker (talk | contribs) at 21:31, 18 April 2017 (Location map many, using relief map (image1): coords). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Map of Japan

Template:Location map Japan is a location map definition used to overlay identification markers and labels on an equirectangular projection map of Japan. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter 'Japan':

Map definition

Map boundaries

Boundaries for main islands north of 30.90°N:

  • top = 45.86
  • bottom = 30.02
  • left = 128.24
  • right = 149.27

Boundaries for Ryukyu Islands south of 30.90°N:

  • top = 39.54
  • bottom = 23.71
  • left = 110.43
  • right = 131.44

Alternative map

The map defined as image1 (Template:Location map/data/Japan) can be displayed by using the relief or AlternativeMap parameters in {{Location map}}, {{Location map many}}, and {{Location map+}}. The map defined as image2 (Template:Location map/data/Japan) can only be displayed by using the AlternativeMap parameter. The use of these two parameters is shown in the examples below. Additional examples can be found at:

Examples using location map templates

Location map, using default map (image)

Fukuoka is located in 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/doc is located in Japan
Fukuoka
Fukuoka
Naha
Naha
{{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/doc is located in Japan
Fukuoka
Fukuoka
Naha
Naha
{{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
  |label = Fukuoka
  |background = lightgrey
  |lat_deg =  33 |lat_min = 35 |lat_dir = N
  |lon_deg = 130 |lon_min = 24 |lon_dir = E
  }}
  {{Location map~ |Japan
  |label = Naha
  |lat_deg =  26 |lat_min = 12 |lat_dir = N
  |lon_deg = 127 |lon_min = 41 |lon_dir = E
  }}
}}

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_region = JP
|latd  =  33 |latm  = 35 |latNS  = N
|longd = 130 |longm = 24 |longEW = E
}}

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_region = JP
|latd  =  26 |latm  = 12 |latNS  = N
|longd = 127 |longm = 41 |longEW = E
}}

See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List