Template:Map

Da ARK Wiki.
Jump to navigation Jump to search
Template-info.png Documentazione

Displays a map and marks given coordinates with a mark. If you need multiple markers, use Template:MapLocations. If you want to mark a region, use Template:RegionMap

Usage

Standard

{{Map|lat=50|lon=50|markertext=|float=}}

Advanced

{{Map|lat=50|lon=50|mapsize=300|markersize=10|marker=dot|markertext=|maptext=|float=}}

Advanced with different Mapfile

{{Map|lat=50|lon=50|mapsize=300|markersize=10|marker=dot|markertext=|maptext=|float=|map=Map The Island.jpg|coordt=6.45|coordl=7.46|coordr=89.79|coordb=93.44}}
Parameters
Name Type Required Default Description
lat integer true
lon integer true
map string false Map The Island.jpg mapfile
mapsize integer false 300
mapsize_x integer false mapsize if width differs from mapsize, state here
mapsize_y integer false mapsize if height differs from mapsize, state here
markersize integer false 10
marker string false dot possible is dot, circle or a filename
markerwidth string false markersize when marker is circle, markerwidth can be stated here to create elliptical shape
markerrotation string false 0 when marker is elliptical, rotation can be given here in degrees
markertext string false is displayed as titletext when hovering over the marker
maptext string false is displayed as titletext when hovering over the map
title string false is displayed as header of the map
coordt float false 7.2 coordinates of the top border of the map
coordr float false 92.8 coordinates of the right border of the map
coordb float false 92.8 coordinates of the bottom border of the map
coordl float false 7.2 coordinates of the left border of the map
float string false set to right to let map float on the right side

Examples

{{Map|lat=50|lon=50}}
Map The Island.jpg
Coordinate: 50° Latitudine, 50° Longitudine
{{Map|lat=80|lon=20|markersize=15|mapsize=200|marker=circle|markertext=interesting spot|maptext=The Island|title=A Map}}
A Map
The Island
interesting spot: 80° Latitudine, 20° Longitudine. The Island
{{Map|map=The Center Map.jpg|lat=50|lon=50}}
The Center Map.jpg
Coordinate: 50° Latitudine, 50° Longitudine