Difference between revisions of "Module:Location map/data/USA Georgia/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Droll
m (tidied up Location map syntax using AWB)
blackwiki>Droll
(tidied up)
Line 29: Line 29:
 
{{Location map | USA Georgia
 
{{Location map | USA Georgia
 
| width = 200
 
| width = 200
  |lat_deg=34|lat_min=58.90|lat_dir=N
+
| lat_deg = 34 | lat_min = 58.90 | lat_dir = N
 
<!--34°58′54″N-->
 
<!--34°58′54″N-->
  |lon_deg=84|lon_min=22.20|lon_dir=W
+
| lon_deg = 84 | lon_min = 22.20 | lon_dir = W
 
<!--84°22′13″W-->
 
<!--84°22′13″W-->
 
| label = McCaysville
 
| label = McCaysville
Line 37: Line 37:
 
| background = #FFFF99 | position = bottom
 
| background = #FFFF99 | position = bottom
 
}}
 
}}
<pre>
+
<pre style = "width:40em;">
 
{{Location map | USA Georgia
 
{{Location map | USA Georgia
 
| width = 200
 
| width = 200
  |lat_deg=34|lat_min=58.90|lat_dir=N
+
| lat_deg = 34 | lat_min = 58.90 | lat_dir = N
 
<!--34°58′54″N-->
 
<!--34°58′54″N-->
  |lon_deg=84|lon_min=22.20|lon_dir=W
+
| lon_deg = 84 | lon_min = 22.20 | lon_dir = W
 
<!--84°22′13″W-->
 
<!--84°22′13″W-->
 
| label = McCaysville
 
| label = McCaysville
Line 58: Line 58:
 
| label = Macon
 
| label = Macon
 
   | label_size = 90 | background = #CCCC55<!--gold-->
 
   | label_size = 90 | background = #CCCC55<!--gold-->
   |lat_deg=32|lat_min=50.1|lat_dir=N
+
   | lat_deg = 32 | lat_min = 50.1 | lat_dir = N
   |lon_deg=83|lon_min=39.1|lon_dir=W
+
   | lon_deg = 83 | lon_min = 39.1 | lon_dir = W
 
| label2 = Valdosta
 
| label2 = Valdosta
 
   | label2_size = 90 | bg2 = #FFCC66<!--orange--> | pos2 = top
 
   | label2_size = 90 | bg2 = #FFCC66<!--orange--> | pos2 = top
 
   | lat2 = 30.832
 
   | lat2 = 30.832
   |lon2_deg=83|lon2_min=17.3|lon2_dir=W
+
   | lon2_deg = 83 | lon2_min = 17.3 | lon2_dir = W
 
}}
 
}}
<pre>
+
<pre style = "width:40em;">
 
{{Location map many | USA Georgia
 
{{Location map many | USA Georgia
 
| AlternativeMap = <!--none (use default map)-->
 
| AlternativeMap = <!--none (use default map)-->
Line 72: Line 72:
 
| label = Macon
 
| label = Macon
 
   | label_size = 90 | background = #CCCC55<!--gold-->
 
   | label_size = 90 | background = #CCCC55<!--gold-->
   |lat_deg=32|lat_min=50.1|lat_dir=N
+
   | lat_deg = 32 | lat_min = 50.1 | lat_dir = N
   |lon_deg=83|lon_min=39.1|lon_dir=W
+
   | lon_deg = 83 | lon_min = 39.1 | lon_dir = W
 
| label2 = Valdosta
 
| label2 = Valdosta
 
   | label2_size = 90 | bg2 = #FFCC66<!--orange--> | pos2 = top
 
   | label2_size = 90 | bg2 = #FFCC66<!--orange--> | pos2 = top
 
   | lat2 = 30.832
 
   | lat2 = 30.832
   |lon2_deg=83|lon2_min=17.3|lon2_dir=W
+
   | lon2_deg = 83 | lon2_min = 17.3 | lon2_dir = W
 
}}
 
}}
 
</pre>
 
</pre>
Line 88: Line 88:
 
| label = Atlanta
 
| label = Atlanta
 
   | label_size = 90 | background = #FFFF99 | position = left
 
   | label_size = 90 | background = #FFFF99 | position = left
   |lat_deg=33|lat_min=45.30|lat_dir=N
+
   | lat_deg = 33 | lat_min = 45.30 | lat_dir = N
   |lon_deg=84|lon_min=23.40|lon_dir=W
+
   | lon_deg = 84 | lon_min = 23.40 | lon_dir = W
 
| label2 = Lake Lanier
 
| label2 = Lake Lanier
 
   | label2_size = 90 | bg2 = SkyBlue | pos2 = right
 
   | label2_size = 90 | bg2 = SkyBlue | pos2 = right
 
   | mark2 = Diamond_sheer_red_20.gif | mark2size = 20
 
   | mark2 = Diamond_sheer_red_20.gif | mark2size = 20
   |lat2_deg=34|lat2_min=12.2|lat2_dir=N
+
   | lat2_deg = 34 | lat2_min = 12.2 | lat2_dir = N
   |lon2_deg=83|lon2_min=58.95|lon2_dir=W
+
   | lon2_deg = 83 | lon2_min = 58.95 | lon2_dir = W
 
}}
 
}}
<pre>
+
<pre style = "width:40em;">
 
{{Location map many | USA Georgia
 
{{Location map many | USA Georgia
 
| width = 200
 
| width = 200
Line 102: Line 102:
 
| label = Atlanta
 
| label = Atlanta
 
   | label_size = 90 | background = #FFFF99 | position = left
 
   | label_size = 90 | background = #FFFF99 | position = left
   |lat_deg=33|lat_min=45.30|lat_dir=N
+
   | lat_deg = 33 | lat_min = 45.30 | lat_dir = N
   |lon_deg=84|lon_min=23.40|lon_dir=W
+
   | lon_deg = 84 | lon_min = 23.40 | lon_dir = W
 
| label2 = Lake Lanier
 
| label2 = Lake Lanier
 
   | label2_size = 90 | bg2 = SkyBlue | pos2 = right
 
   | label2_size = 90 | bg2 = SkyBlue | pos2 = right
 
   | mark2 = Diamond_sheer_red_20.gif | mark2size = 20
 
   | mark2 = Diamond_sheer_red_20.gif | mark2size = 20
   |lat2_deg=34|lat2_min=12.2|lat2_dir=N
+
   | lat2_deg = 34 | lat2_min = 12.2 | lat2_dir = N
   |lon2_deg=83|lon2_min=58.95|lon2_dir=W
+
   | lon2_deg = 83 | lon2_min = 58.95 | lon2_dir = W
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 19:08, 30 April 2012

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

Map definition

name
used in default map caption (Template:Location map/data/USA Georgia)
image
the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/USA Georgia|Template:Location map/data/USA Georgia]])
top
latitude at top edge of map, in decimal degrees (Template:Location map/data/USA Georgia)
bottom
latitude at bottom edge of map, in decimal degrees (Template:Location map/data/USA Georgia)
left
longitude at left edge of map, in decimal degrees (Template:Location map/data/USA Georgia)
right
longitude at right edge of map, in decimal degrees (Template:Location map/data/USA Georgia)

Examples

Single location

McCaysville is located in Georgia (U.S. state)
McCaysville
McCaysville
McCaysville (Georgia (U.S. state))
{{Location map | USA Georgia
| width = 200
| lat_deg = 34 | lat_min = 58.90 | lat_dir = N
<!--34°58′54″N-->
| lon_deg = 84 | lon_min = 22.20 | lon_dir = W
<!--84°22′13″W-->
| label = McCaysville
| label_size = 90 <!-- percent 0-900% -->
| background = #FFFF99 | position = bottom
}}

Multiple locations

Location map/data/USA Georgia/doc is located in Georgia (U.S. state)
Macon
Macon
Valdosta
Valdosta
Two locations in Georgia
{{Location map many | USA Georgia
| AlternativeMap = <!--none (use default map)-->
| width = 200
| caption = Two locations in Georgia
| label = Macon
  | label_size = 90 | background = #CCCC55<!--gold-->
  | lat_deg = 32 | lat_min = 50.1 | lat_dir = N
  | lon_deg = 83 | lon_min = 39.1 | lon_dir = W
| label2 = Valdosta
  | label2_size = 90 | bg2 = #FFCC66<!--orange--> | pos2 = top
  | lat2 = 30.832
  | lon2_deg = 83 | lon2_min = 17.3 | lon2_dir = W
}}

Multiple locations, different markers

Location map/data/USA Georgia/doc is located in Georgia (U.S. state)
Atlanta
Atlanta
Lake Lanier
Lake Lanier
Atlanta and Lake Lanier
{{Location map many | USA Georgia
| width = 200
| caption = Atlanta and Lake Lanier
| label = Atlanta
  | label_size = 90 | background = #FFFF99 | position = left
  | lat_deg = 33 | lat_min = 45.30 | lat_dir = N
  | lon_deg = 84 | lon_min = 23.40 | lon_dir = W
| label2 = Lake Lanier
  | label2_size = 90 | bg2 = SkyBlue | pos2 = right
  | mark2 = Diamond_sheer_red_20.gif | mark2size = 20
  | lat2_deg = 34 | lat2_min = 12.2 | lat2_dir = N
  | lon2_deg = 83 | lon2_min = 58.95 | lon2_dir = W
}}

See also