Template:Map/doc
Template page
More actions
Purpose
This template embeds the legacy interactive map. It can center on a continent or scene, display Semantic MediaWiki query results or manual markers, and provide up to three optional marker layers.
Usage
{{Map
|continent=Novia
|scene=
|centerX=150
|centerY=150
|zoom=1
|width=800
|height=800
|markerQuery=
|markers=
}}
Parameters
| Parameter | Explanation |
|---|---|
continent
|
Continent name used by Template:ContinentID and marker coordinates. Defaults to Novia.
|
scene
|
Optional scene name resolved through Template:SceneID. Without it, the map uses scene ID 0. |
centerXcenterY
|
Initial map-center coordinates. Each defaults to 150. |
zoom
|
Initial zoom level. Defaults to 1. |
widthheight
|
Preferred map dimensions in pixels. Each defaults to 800. The rendered width shrinks when necessary to fit its container. |
clear
|
CSS clear value applied immediately before the map. Defaults to both.
|
hideAttribution
|
Map-control flag passed as data-hideattribution. Defaults to 0.
|
hideZoom
|
Map-control flag passed as data-hidezoom. Defaults to 1.
|
markerQuery
|
Semantic MediaWiki marker query passed to Template:Map/Marker divs. |
markers
|
Semicolon-separated manual markers in Name,Y,X form.
|
layerGroupQuery1 through layerGroupQuery3
|
Optional Semantic MediaWiki marker queries rendered as hidden selectable map groups. |
layerGroupName1 through layerGroupName3
|
Display name paired with the corresponding layer-group query. |