Template:DisplayMap
Renders an interactive map of Golarion.
Parameter | Description | Type | Status | |
---|---|---|---|---|
latlong | latlong | Comma-separated latitude and longitude of the map's center point, for easier use from a database.
| String | optional |
lat | lat | Latitude of the map's center point.
| Number | optional |
long | long | Longitude of the map's center point.
| Number | optional |
zoom | zoom | The map's zoom level. This value can be fractional.
| Number | optional |
align | align | Renders the map in an image-like thumbnail box with the given floating alignment.
| String | optional |
caption | caption | If this and the align parameter are both set, display this wikitext as the map's caption. | Unbalanced wikitext | optional |
width | width | The map's rendered width, with similar usage as an image. If the align parameter is set, the default thumbnail width is 252px.
| String | optional |
height | height | The map's rendered height, with similar usage as an image.
| String | optional |
create | create | If set, also create a {{Location of Interest}} at the given coordinates, of a type equal to the parameter's value.
| Unbalanced wikitext | optional |
name | name | The location's name, if not the same as the article name. | Unbalanced wikitext | optional |
This page is affiliated with the Map project. |
{{DisplayMap}} embeds an interactive map of an area from the Mapping project. For parameter usage, see its TemplateData.
This template employs Widget:Map for rendering.
Finding coordinate and zoom values
To copy latitude, longitude, and zoom values for use in {{DisplayMap}}, right-click on the desired point in the map and select "Copy Lat/Long".
An equivalent map of Absalom using this template could be defined as:
{{DisplayMap|zoom=10|latlong=30.87985, -0.23058}}
which results in:
Alternatively, you can browse to the location on https://map.pathfinderwiki.com and use the URL set in your browser's address bar, which represents the center point of the visible map.
For example, the URL https://map.pathfinderwiki.com/#location=10/30.87985/-0.23058 displays the city of Absalom at zoom level 10, with the center of the map at latitude 30.87985 and longitude -0.23058. The location
parameter in the URL lists those values in that order.
Examples
Basic example
{{DisplayMap|latlong=40, 20|zoom=4}}
Specifying a size
{{DisplayMap|latlong=35.917, -0.464|height=300px|width=300px}}
As a floating thumbnail
{{DisplayMap|latlong=35.917,-0.464|align=right|name=Kortos|caption=[[Kortos]]|zoom=5}}
This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail. This example floats to the right of text, like an image thumbnail.
As a point of interest
{{DisplayMap|latlong=35.917,-0.464|align=right|caption=[[Kortos]]|zoom=5|create=tower}}
This example creates a new {{Location of Interest}} of type tower.