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

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create documentation)
 
blackwiki>Zyxw
(add categories, update comments)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
  
 
'''Template:Location map American Samoa''' is a location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[American Samoa]]. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.  
 
'''Template:Location map American Samoa''' is a location map definition used to overlay markers and labels on an [[equirectangular projection]] map of [[American Samoa]]. The markers are placed by [[latitude]] and [[longitude]] coordinates on the default map or a similar map image.  
Line 138: Line 138:
 
* [[Template:Location map Samoa]]
 
* [[Template:Location map Samoa]]
 
<includeonly>
 
<includeonly>
<!-- Categories and interwikis go here: -->
+
<!-- Categories go here, and interwikis go in Wikidata -->
 +
[[Category:Location map by country templates|American Samoa]]
 +
[[Category:United States location map templates|American Samoa]]
  
 
</includeonly>
 
</includeonly>

Revision as of 03:17, 22 March 2013

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

Map definition

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

Examples

Location map

Tutuila (American Samoa)
{{Location map | American Samoa
| width = 250
| lat   = -14.3
| long  = -170.7
| label = Tutuila
}}

Location map many

{{Location map many | American Samoa
| caption = Two locations in American Samoa
| width   = 250
| <!--first marker-->
| lat      = -14.3
| long     = -170.7
| label    = Tutuila
| pos      = right
| mark     = Cercle_rouge_100%.svg
| marksize = 25
| <!--second marker-->
| lat2      = -14.23
| long2     = -169.45
| label2    = Ta‘ū
| pos2      = right
| mark2     = Cercle_rouge_100%.svg
| mark2size = 15
}}

Location map+

{{Location map+ | American Samoa
| caption = Two locations in American Samoa
| width   = 250
| places  =
  {{Location map~ | American Samoa
  | lat   = -14.3
  | long  = -170.7
  | label = Tutuila
  | position = right
  | mark     = Cercle_rouge_100%.svg
  | marksize = 25
  }}
  {{Location map~ | American Samoa
  | lat   = -14.23
  | long  = -169.45
  | label = Ta‘ū
  | position = right
  | mark     = Cercle_rouge_100%.svg
  | marksize = 15
  }}
}}

See also