Module:Location map/data/Indonesia/doc

From blackwiki
Jump to navigation Jump to search

This is the documentation page for Module:Location map/data/Indonesia

Template:Location map Indonesia is a location map definition used to overlay markers and labels on an equirectangular projection map of Indonesia. 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 "Indonesia":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Indonesia) 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/Indonesia) 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 many, using relief map (image)

Three locations in Indonesia
{{Location map many | Indonesia
| width    = 300
| caption  = Three locations in Indonesia
| lat1_deg = -3.36388
| lon1_deg = 104.86881
| label1   = 
Ogan 
Komering 
   Ilir
| lat2_deg = -1.92182
| lon2_deg = 138.77438
| label2   = Sarmi
| lat3_deg = -2.68496
| lon3_deg = 113.95365
| label3   = Pulang Pisau
}}

Location map many, using relief map (image1)

Four locations in Indonesia
{{Location map many | Indonesia
| relief   = yes
| width    = 300
| caption  = Four locations in Indonesia
| lat1_deg = -6.2
| lon1_deg = 106.8
| label1   = Jakarta
| lat2_deg = -2.53
| lon2_deg = 140.72
| label2   = Jayapura
| lat3_deg = 2.85
| lon3_deg = 117.38
| label3   = Tanjung Selor
| lat4_deg = 5.55
| lon4_deg = 95.32
| label4   = Banda Aceh
}}

Location map+, using AlternativeMap

Four locations in Indonesia
{{Location map+ | Indonesia
| AlternativeMap = Indonesia relief location map.jpg
| width   = 300
| caption = Four locations in Indonesia
| places  =
  {{Location map~ | Indonesia
  | lat_deg = -6.2
  | lon_deg = 106.8
  | label   = Jakarta
  }}
  {{Location map~ | Indonesia
  | lat_deg = -2.53
  | lon_deg = 140.72
  | label   = Jayapura
  }}
  {{Location map~ | Indonesia
  | lat_deg = 2.85
  | lon_deg = 117.38
  | label   = Tanjung Selor
  }}
  {{Location map~ | Indonesia
  | lat_deg = 5.55
  | lon_deg = 95.32
  | label   = Banda Aceh
  }}
}}

See also

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