Template:Map spawn: Difference between revisions

From OpenSpell Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Displays a styled location box with a link to the interactive map.
Requires <code>$wgRawHtml = true</code> in LocalSettings.php.


<pre>
<pre>
{{Map spawn|label=Knight|cx=-273|cy=-254|level=1|markers=x,y,r;x,y,r}}
{{Map spawn|label=Knight|cx=-273|cy=-254|level=1|markers=-273,-254;112,-182}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>{{#tag:html|<iframe src="https://highspellmap.com/embed.html?label={{{label|}}}&cx={{{cx|0}}}&cy={{{cy|0}}}&level={{{level|1}}}&markers={{{markers|}}}" width="100%" height="350" style="border:1px solid #a2a9b1; border-radius:2px; display:block;" loading="lazy"></iframe>}}</includeonly>
{| style="border:1px solid #a2a9b1; background:#f8f9fa; padding:4px 10px; margin:8px 0; font-size:13px;"
|-
| style="padding-right:12px; color:#54595d;" | 🗺️ '''Spawn locations'''
| [https://highspellmap.com/embed?label={{{label|}}}&cx={{{cx|0}}}&cy={{{cy|0}}}&level={{{level|1}}}&markers={{{markers|}}} View on interactive map →]
|}
</includeonly>

Latest revision as of 14:05, 28 February 2026

Usage

[edit]

Requires $wgRawHtml = true in LocalSettings.php.

{{Map spawn|label=Knight|cx=-273|cy=-254|level=1|markers=-273,-254;112,-182}}