Template:Query map markers/doc
Template page
More actions
Purpose
This internal result template converts one Semantic MediaWiki map result into a hidden marker element consumed by SotAwiki's interactive map code.
Usage
The template is called by Template:Map/Marker divs, not directly by articles. Parameter 1 is the result page name. The remaining coordinates depend on the parent query:
- Continent markers use
2continent,3x, and4y. - Scene markers use
2continent,3scene,4x, and5y.
It emits a hidden div.map-marker with data-name and semicolon-separated data-coordinate attributes. Their structure is an interface with the site's map JavaScript; changing it may break marker display.