Template:Location map+/relief

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

The following examples document the use of the relief parameter in the {{Location map+}} template. This parameter is also available via the {{Location map}} and {{Location map many}} templates. Map definitions are in Module:Location map/data/Japan.

Location map+, with undefined relief parameter

Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Japan" does not exist.

{{Location map+ | Japan
| relief = 
| caption = Locations in [[Japan]] and the [[Ryukyu Islands]]
| places =
  {{Location map~ | Japan
  | label = Fukuoka
  | 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
  }}
}}

Location map+, with relief parameter

Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Japan" does not exist.

{{Location map+ | Japan
| relief = 1
| caption = Locations in [[Japan]] and the [[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
  }}
}}

Location map+, using other relief maps

By setting relief parameter to numerical values other than 1

Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Japan" does not exist.

{{Location map+ | Japan
| relief = 2
| caption = Locations in [[Japan]] and the [[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
  }}
}}

By using AlternativeMap for a different relief map

Lua error in Module:Location_map/multi at line 27: Unable to find the specified location map definition: "Module:Location map/data/Japan" does not exist.

{{Location map+ | Japan
| AlternativeMap = Japan bluemarble location map with side map
of the Ryukyu Islands.jpg
| caption = Locations in [[Japan]] and the [[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
  }}
}}