Template:Map spawn
From OpenSpell Wiki
Usage
Renders a "View on map" button that opens a popup map showing NPC spawn locations. The map loads lazily — only when the user clicks the button.
{{Map spawn|label=Knight|cx=-286|cy=-1|level=1|markers=-286,-1,4;112,-182,5}}
Parameters
| Parameter | Description |
|---|---|
label |
NPC/entity name shown in the map header |
cx |
Center X coordinate (game coords) |
cy |
Center Y coordinate (game coords) |
level |
Map level: 0=underground, 1=overworld (default: 1)
|
markers |
Semicolon-separated spawn points: x,y or x,y,wanderRadius
|
Requires the MediaWiki:MapEmbed extension and MediaWiki:MapModal.js to be installed.