Difference between revisions of "Module:Location map/data/USA American Samoa/doc"
Jump to navigation
Jump to search
blackwiki>Zyxw (add categories, update comments) |
blackwiki>Frietjes m (Frietjes moved page Template:Location map American Samoa/doc to Module:Location map/data/USA American Samoa/doc) |
(No difference)
| |
Revision as of 21:49, 19 March 2018
| 40px | This is a documentation subpage for Module:Location map/data/USA American Samoa. It contains usage information, categories and other content that is not part of the original module page. |
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.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "American Samoa":
{{Location map | American Samoa | ...}}{{Location map many | American Samoa | ...}}{{Location map+ | American Samoa | ...}}{{Location map~ | 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
}}
}}