Jump to content

Module:Location map/data/Myanmar/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add category moved from main template
updates related to main article Burma being moved to Myanmar on 14 August 2015 due to consensus that is now the WP:COMMONNAME
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
<!-- Place categories where indicated at the bottom of this page; interwikis at Wikidata -->
[[File:Burma-CIA WFB Map.png|thumb|180px|Map of Burma (Myanmar)]]
[[File:Burma-CIA WFB Map.png|thumb|180px|Map of Myanmar (Burma)]]


'''Template:Location map Burma''' is a location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[Myanmar]] (also known as Burma). The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.
'''Template:Location map Myanmar''' is a location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[Myanmar]] (also known as Burma). The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.


== Usage ==
== Usage ==
These definitions are used by the following templates when invoked with parameter "Burma":
These definitions are used by the following templates when invoked with parameter "Myanmar":
* {{tlx|Location map | Burma&nbsp;| ...}}
* {{tlx|Location map | Myanmar&nbsp;| ...}}
* {{tlx|Location map many | Burma&nbsp;| ...}}
* {{tlx|Location map many | Myanmar&nbsp;| ...}}
* {{tlx|Location map+ | Burma&nbsp;| ...}}
* {{tlx|Location map+ | Myanmar&nbsp;| ...}}
* {{tlx|Location map~ | Burma&nbsp;| ...}}
* {{tlx|Location map~ | Myanmar&nbsp;| ...}}


== Map definition ==
== Map definition ==
Line 61: Line 61:


=== Location map, using default map (image) ===
=== Location map, using default map (image) ===
{{Location map | Burma
{{Location map | Myanmar
| width = 140
| width = 140
| label = Rangoon (Yangon)
| label = Yangon (Rangoon)
| lat_deg = 16.8
| lat_deg = 16.8
| lon_deg = 96.15
| lon_deg = 96.15
}}
}}
<pre style="width:30em;">
<pre style="width:30em;">
{{Location map | Burma
{{Location map | Myanmar
| width = 140
| width = 140
| label = Rangoon (Yangon)
| label = Yangon (Rangoon)
| lat_deg = 16.8
| lat_deg = 16.8
| lon_deg = 96.15
| lon_deg = 96.15
Line 78: Line 78:


=== Location map many, using relief map (image1) ===
=== Location map many, using relief map (image1) ===
{{Location map many | Burma
{{Location map many | Myanmar
| relief = yes
| relief = yes
| width = 140
| width = 140
| caption = Map of Burma (Myanmar)
| caption = Map of Myanmar (Burma)
| label1 = Rangoon (Yangon)
| label1 = Yangon (Rangoon)
| lat1_deg = 16.8
| lat1_deg = 16.8
| lon1_deg = 96.15
| lon1_deg = 96.15
Line 90: Line 90:
}}
}}
<pre style="width:30em;">
<pre style="width:30em;">
{{Location map many | Burma
{{Location map many | Myanmar
| relief = yes
| relief = yes
| width = 140
| width = 140
| caption = Map of Burma (Myanmar)
| caption = Map of Myanmar (Burma)
| label1 = Rangoon (Yangon)
| label1 = Yangon (Rangoon)
| lat1_deg = 16.8
| lat1_deg = 16.8
| lon1_deg = 96.15
| lon1_deg = 96.15
Line 105: Line 105:


=== Location map+, using AlternativeMap ===
=== Location map+, using AlternativeMap ===
{{Location map+ | Burma
{{Location map+ | Myanmar
| AlternativeMap = Myanmar relief location map.jpg
| AlternativeMap = Myanmar relief location map.jpg
| width = 140
| width = 140
| caption = Map of Burma (Myanmar)
| caption = Map of Myanmar (Burma)
| places =
| places =
{{Location map~ | Burma
{{Location map~ | Myanmar
| label = Rangoon (Yangon)
| label = Yangon (Rangoon)
| lat_deg = 16.8
| lat_deg = 16.8
| lon_deg = 96.15
| lon_deg = 96.15
}}
}}
{{Location map~ | Burma
{{Location map~ | Myanmar
| label = Nay Pyi Taw
| label = Nay Pyi Taw
| lat_deg = 19.75
| lat_deg = 19.75
Line 122: Line 122:
}}
}}
<pre style="width:35em;">
<pre style="width:35em;">
{{Location map+ | Burma
{{Location map+ | Myanmar
| AlternativeMap = Myanmar relief location map.jpg
| AlternativeMap = Myanmar relief location map.jpg
| width = 140
| width = 140
| caption = Map of Burma (Myanmar)
| caption = Map of Myanmar (Burma)
| places =
| places =
{{Location map~ | Burma
{{Location map~ | Myanmar
| label = Rangoon (Yangon)
| label = Yangon (Rangoon)
| lat_deg = 16.8
| lat_deg = 16.8
| lon_deg = 96.15
| lon_deg = 96.15
}}
}}
{{Location map~ | Burma
{{Location map~ | Myanmar
| label = Nay Pyi Taw
| label = Nay Pyi Taw
| lat_deg = 19.75
| lat_deg = 19.75
Line 152: Line 152:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories below this line; interwikis at Wikidata -->
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Location map by country templates|Burma]]
[[Category:Location map by country templates|Myanmar]]
}}</includeonly>
}}</includeonly>

Revision as of 06:10, 27 August 2015

Map of Myanmar (Burma)

Template:Location map Myanmar is a location map definition used to overlay markers and labels on an equirectangular projection map of Myanmar (also known as Burma). 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 "Myanmar":

Map definition

Alternative map

The map defined as image1 (Template:Location map/data/Myanmar) 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/Myanmar) 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)

Yangon (Rangoon) is located in Myanmar
Yangon (Rangoon)
Yangon (Rangoon)
Yangon (Rangoon) (Myanmar)
{{Location map | Myanmar
| width   = 140
| label   = Yangon (Rangoon)
| lat_deg = 16.8
| lon_deg = 96.15
}}

Location map many, using relief map (image1)

Location map/data/Myanmar/doc is located in Myanmar
Yangon (Rangoon)
Yangon (Rangoon)
Nay Pyi Taw
Nay Pyi Taw
Map of Myanmar (Burma)
{{Location map many | Myanmar
| relief   = yes
| width    = 140
| caption  = Map of Myanmar (Burma)
| label1   = Yangon (Rangoon)
| lat1_deg = 16.8
| lon1_deg = 96.15
| label2   = Nay Pyi Taw
| lat2_deg = 19.75
| lon2_deg = 96.1
}}

Location map+, using AlternativeMap

Location map/data/Myanmar/doc is located in Myanmar
Yangon (Rangoon)
Yangon (Rangoon)
Nay Pyi Taw
Nay Pyi Taw
Map of Myanmar (Burma)
{{Location map+ | Myanmar
| AlternativeMap = Myanmar relief location map.jpg
| width   = 140
| caption = Map of Myanmar (Burma)
| places  =
  {{Location map~ | Myanmar
  | label   = Yangon (Rangoon)
  | lat_deg = 16.8
  | lon_deg = 96.15
  }}
  {{Location map~ | Myanmar
  | label   = Nay Pyi Taw
  | lat_deg = 19.75
  | lon_deg = 96.1
  }}
}}

See also

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