Template:Location map Fiji/doc
Appearance
| This is a documentation subpage for Template:Location map Fiji. It may contain usage information, categories and other content that is not part of the original template page. |
Template:Location map Fiji is a location map definition used to overlay markers and labels on an equirectangular projection map of Fiji. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Usage
[edit source]These definitions are used by the following templates when invoked with parameter "Fiji":
{{Location map|Fiji |...}}{{Location map+|Fiji |...}}{{Location map~|Fiji |...}}
Map definition
[edit source]- name
- used in default map caption (Fiji)
- image
- the default map image, without "Image:" or "File:" (Fiji location map.svg)
- x
- an expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
- y
- an expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
Examples
[edit source]Location map: Eastern hemisphere, Deg/Min/Sec coordinates
[edit source]{{Location map | Fiji
| width = 150
| caption = Location of Eori in Fiji
| label = Eori
| background = lightblue
| position = left
| lat_deg= 17 | lat_min=26 | lat_sec=17 | lat_dir=S
| lon_deg=177 | lon_min=03 | lon_sec=48 | lon_dir=E
}}
Location map: Eastern hemisphere, Decimal coordinates
[edit source]{{Location map | Fiji
| width = 150
| caption = Location of Eori in Fiji
| label = Eori
| background = lightblue
| position = left
| lat = -17.43806
| long = 177.06333
}}
Location map: Western hemisphere, Deg/Min/Sec coordinates
[edit source]{{Location map | Fiji
| width = 150
| caption = Location of Batiki in Fiji
| label = Batiki
| background = lightgreen
| position = bottom
| lat_deg = 17 | lat_min = 47 | lat_sec = | lat_dir = S
| lon_deg = 179 | lon_min = 09 | lon_sec = | lon_dir = W
}}
Location map: Western hemisphere, Decimal coordinates
[edit source]{{Location map | Fiji
| width = 150
| caption = Location of Batiki in Fiji
| label = Batiki
| background = lightgreen
| position = bottom
| lat = -17.783
| long = -179.15
}}