Difference between revisions of "Module:Location map/data/United Arab Emirates/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
blackwiki>Zyxw
(add category moved from main template, add new category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
[[File:United Arab Emirates-CIA WFB Map.png|thumb|400px|Map of the United Arab Emirates]]
 
[[File:United Arab Emirates-CIA WFB Map.png|thumb|400px|Map of the United Arab Emirates]]
  
Line 148: Line 148:
 
== See also ==
 
== See also ==
 
* [[Template:Location map Dubai]], uses same image but with [[Dubai]] highlighted
 
* [[Template:Location map Dubai]], uses same image but with [[Dubai]] highlighted
 +
 
; Location map templates
 
; Location map templates
 
* [[Template:Location map]], to display one mark and label using latitude and longitude
 
* [[Template:Location map]], to display one mark and label using latitude and longitude
Line 155: Line 156:
 
; Infobox templates incorporating (passing values to) the Location map template
 
; Infobox templates incorporating (passing values to) the Location map template
 
{{Location map/doc/See also infobox templates}}
 
{{Location map/doc/See also infobox templates}}
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
  
</includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Location map by country templates|United Arab Emirates]]
 +
[[Category:United Arab Emirates location map templates| ]]
 +
}}</includeonly>

Revision as of 05:02, 27 August 2015

File:United Arab Emirates-CIA WFB Map.png
Map of the United Arab Emirates

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

Map definition

Alternative map

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

Abu Dhabi (United Arab Emirates)
{{Location map | United Arab Emirates
| width   = 250
| lat_deg = 24.47
| lon_deg = 54.37
| label   = Abu Dhabi
}}

Location map many, using relief map (image1)

{{Location map many | United Arab Emirates
| relief   = yes
| width    = 250
| caption  = Two locations in the United Arab Emirates
| lat1_deg = 24.47
| lon1_deg = 54.37
| label1   = Abu Dhabi
| lat2_deg = 25.25
| lon2_deg = 55.3
| label2   = Dubai
}}

Location map+, using AlternativeMap

{{Location map+ | United Arab Emirates
| AlternativeMap = United Arab Emirates relief location map.jpg
| width   = 250
| caption = Two locations in the United Arab Emirates
| places  =
  {{Location map~ | United Arab Emirates
  | lat_deg = 24.47
  | lon_deg = 54.37
  | label   = Abu Dhabi
  }}
  {{Location map~ | United Arab Emirates
  | lat_deg = 25.25
  | lon_deg = 55.3
  | label   = Dubai
  }}
}}

See also

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