Vorlage:Map/doc

Aus ARK: Survival Evolved Wiki
Wechseln zu: Navigation, Suche
Template-info.png Dokumentation

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[Quelltext bearbeiten]

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[Quelltext bearbeiten]

{{Map|lat=50|lon=50}}
The Island Topographic Map.jpg
coords: 50° Lat, 50° Lon
{{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° Lat, 20° Lon. The Island
{{Map|map=The Center Map.jpg|lat=50|lon=50}}
The Center Map.jpg
coords: 50° Lat, 50° Lon

Dies ist eine Dokumentationsseite, die in die Seite des Haupttemplates eingefügt werden sollte. Für weitere Informationen siehe: Vorlage:Doc.