Module:Location map/data/Samoa/doc
Appearance
![]() | This is a documentation subpage for Module:Location map/data/Samoa. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | This is a documentation subpage for Module:Location map/data/Samoa. It may contain usage information, categories and other content that is not part of the original module page. |
Template:Location map Samoa is a location map definition used to overlay markers and labels on an equirectangular projection map of 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 "Samoa":
{{Location map|Samoa |...}}
{{Location map many|Samoa |...}}
{{Location map+|Samoa |...}}
{{Location map~|Samoa |...}}
Map definition
- name
- used in default map caption (Template:Location map/data/Samoa)
- image
- the default map image, without "Image:" or "File:" ([[:File:Template:Location map/data/Samoa|Template:Location map/data/Samoa]])
- top
- latitude at top edge of map, in decimal degrees (Template:Location map/data/Samoa)
- bottom
- latitude at bottom edge of map, in decimal degrees (Template:Location map/data/Samoa)
- left
- longitude at left edge of map, in decimal degrees (Template:Location map/data/Samoa)
- right
- longitude at right edge of map, in decimal degrees (Template:Location map/data/Samoa)
Examples
Location map
{{Location map | Samoa | width = 250 | lat = -13.833 | long = -171.767 | label = Apia }}
Location map many
Two locations in Samoa
{{Location map many | Samoa | caption = Two locations in Samoa | width = 250 | <!--first marker--> | lat = -13.833 | long = -171.767 | label = Apia | <!--second marker--> | lat2 = -13.583 | long2 = -172.45 | label2 = Mount Silisili | pos2 = top | mark2 = Fire.svg | mark2size = 8 }}
Location map+
Two locations in Samoa
{{Location map+ | Samoa | caption = Two locations in Samoa | width = 250 | places = {{Location map~ | American Samoa | lat = -13.833 | long = -171.767 | label = Apia }} {{Location map~ | American Samoa | lat = -13.583 | long = -172.45 | label = Mount Silisili | position = top | mark = Fire.svg | marksize = 8 }} }}