Template:Location map/doc
Appearance
Template:Location map/doc - Documentation
The Location map template is helpful for creating static maps on the wiki.
Maps Supported
This template will work for all 50 states and the District of Columbia.
Parameters
mapname- the name of the mapwidth- the width of the map in pixels (do not include "px")p1lat- the latitude of point 1p1long- the longitude of point 1p1icon- the icon for point 1p1label- the text label for point 1p1linkoptional - the wikilink of the label for point 1p1coloroptional - the color of the label for point 1p2lat- the latitude of point 2p2long- the longitude of point 2p2icon- the icon for point 2p2label- the text label for point 2p2linkoptional - the wikilink of the label for point 2p2coloroptional - the color of the label for point 2- ...
This template currently supports up to 10 points.
Icons
| Icon | Name |
|---|---|
| Red pog.svg | |
| Yellow pog.svg | |
| Blue pog.svg | |
| Purple pog.svg | |
| Red Arrow Up.svg | |
| Red Arrow Right.svg | |
| Red Arrow Down.svg | |
| Red Arrow Left.svg |
Finding Coordinates
Do you not know how to find coordinates for an object? This should help:
- Understand that for coordinates in North America, longitude should generally be between -130 and -60 and latitude should generally be between 50 and 20
- Use a search engine to find the coordinates. For example, "Boca Raton Community High School coordinates".
- Get the coordinates from a search result.
- Make sure longitude (the bigger number) is negative and latitude (the smaller number) is positive
- Discard anything regarding "N", "E", "S", "W" and make sure your coordinates are simply a decimal number (no ', ", or ° characters)
Examples
| Code | Result |
|---|---|
{{Location map
| mapname=File:Florida.svg
| width=400
| p1lat=26.362254
| p1long=-80.116757
}}
|
Lua error in Module:Location_map at line 404: attempt to index field 'wikibase' (a nil value). |
{{Location map
| mapname=File:Florida.svg
| width=400
| p1lat=26.362254
| p1long=-80.116757
| p1label=Boca
| p1link=Boca Raton Community High School
| p1icon=File:Purple pog.svg
| p1color=purple
}}
|
Lua error in Module:Location_map at line 404: attempt to index field 'wikibase' (a nil value). |
{{Location map
| mapname=File:Florida.svg
| width=400
| p1lat=26.362254
| p1long=-80.116757
| p1label=Boca
| p1link=Boca Raton Community High School
| p1icon=File:Purple pog.svg
| p1color=purple
| p2lat=29.6436
| p2long=-82.3549
| p2label=UF
| p2link=Science Olympiad at the University of Florida
| p2icon=File:Blue pog.svg
| p2color=#0021A5
}}
|
Lua error in Module:Location_map at line 404: attempt to index field 'wikibase' (a nil value). |