Template:Map spawn: Difference between revisions
From OpenSpell Wiki
Jump to navigationJump to search
Created page with "<noinclude> == 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. <pre> {{Map spawn|label=Knight|cx=-286|cy=-1|level=1|markers=-286,-1,4;112,-182,5}} </pre> === Parameters === {| class="wikitable" ! Parameter !! Description |- | <code>label</code> || NPC/entity name shown in the map header |- | <code>cx</code> || Center X coordinate (game coords) |- | <code>cy</code>..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Displays a "View on map" link for NPC spawn locations. | |||
Once the MapEmbed extension is installed this will render as an interactive button. | |||
For now it renders as a plain text link. | |||
<pre> | <pre> | ||
{{Map spawn|label=Knight|cx=- | {{Map spawn|label=Knight|cx=-273|cy=-254|level=1|markers=x,y,r;x,y,r}} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude><includeonly> | </noinclude><includeonly>[https://highspellmap.com 🗺️ View on map] ({{{label|}}} · {{{markers|}}}) | ||
</includeonly> | </includeonly> | ||
Revision as of 09:07, 28 February 2026
Usage
Displays a "View on map" link for NPC spawn locations. Once the MapEmbed extension is installed this will render as an interactive button. For now it renders as a plain text link.
{{Map spawn|label=Knight|cx=-273|cy=-254|level=1|markers=x,y,r;x,y,r}}