Template:MapLocations/doc

From ARK Wiki
Jump to navigation Jump to search
Template-info.png Documentation

Displays a map with multiple markers at given coordinates

Parameters

all are optionally

Parameter default description
map Map The Island.jpg Filename of the map
mapsize 300 mapsize in px
markersize 10 markersize in px
markercolor #f30
markericon Filename of the default-icon
opacity 1 opacity of markers
text is displayed under the map
float where the map floats (left / right)
borderCoordT 7.2 Coords of Top
borderCoordR 92.8 Coords of Right
borderCoordB 92.8 Coords of Bottom
borderCoordL 7.2 Coords of Left

Locations are given as comma-separated-values and have to be in this order (only lat and lon are mandatory) lat,lon,markersize,markercolor,markertooltip,markericon[,markericon2[,markericon3...]]. Leave parameters empty for the default. E.g. write 20,50,,green for a green marker at 20-50 with the default size.

  • Commas are not allowed in the title-text (it breaks the format)
  • An equal-sign has to be written like {{=}}, a vertical bar / pipe has to be written like {{!}}.

Example

{{MapLocations|30,50|20,80,20}}
The Island Topographic Map.jpg
{{MapLocations|40,50|30,80|text=so many spots|80,50,30,yellow,I'm a yellow marker!|opacity=0.7|50,50,5|markercolor=green|mapsize=200|10,10,5}}
The Island Topographic Map.jpg
so many spots