Template:DisplayMap

From PathfinderWiki

Renders an interactive map of Golarion.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
latlonglatlong

Comma-separated latitude and longitude of the map's center point, for easier use from a database.

Example
42.342342, -5.342423
Stringoptional
latlat

Latitude of the map's center point.

Example
42.342342
Numberoptional
longlong

Longitude of the map's center point.

Example
-5.342423
Numberoptional
zoomzoom

The map's zoom level. This value can be fractional.

Default
7
Example
6.5
Numberoptional
alignalign

Renders the map in an image-like thumbnail box with the given floating alignment.

Example
right
Stringoptional
captioncaption

If this and the align parameter are both set, display this wikitext as the map's caption.

Unbalanced wikitextoptional
widthwidth

The map's rendered width, with similar usage as an image. If the align parameter is set, the default thumbnail width is 252px.

Default
100%
Example
300px
Stringoptional
heightheight

The map's rendered height, with similar usage as an image.

Default
200px
Example
300px
Stringoptional
createcreate

If set, also create a {{Location of Interest}} at the given coordinates, of a type equal to the parameter's value.

Suggested values
castle cave city-ruins fort graveyard guildhall hills labyrinth manor-house other pyramid rock-formation statue temple tower
Example
tower
Unbalanced wikitextoptional
namename

The location's name, if not the same as the article name.

Unbalanced wikitextoptional
Template documentation (for the above template, sometimes hidden or invisible)
Subpages of this template:
Golarion world map.jpg

This page is affiliated with the Map project.
Project leader: User:Virenerus and User:VestOfHolding
Discussion: The #golarion-mapping channel of the PathfinderWiki Discord server or Talk:Map.

{{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.