Template:Interactive map: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 18: Line 18:
  |maxzoom=6
  |maxzoom=6
  |center={{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}}
  |center={{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}}
}}</includeonly>
}}</includeonly><noinclude>
== Description ==
This is the '''{{PAGENAME}}''' template.
It should be transcluded in the following format:
<pre>
{{Interactive map
|
|
|
|
}}
</pre>
== Parameters ==
WIP
== Example ==
<pre>
{{interactive map|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}}
</pre>
{{interactive map|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}}
 
<!--
{{#display_map:
<!--80.46, 82.83~Cave Troll~coordinates~Minimap-quest.gif;-->
83.4, 74.5~North Gate~~Minimap-portal.gif;
60.5, 46.8~Rog (V1)~~Minimap-bindstone.gif;
<!--10.34, 60.15~South Center Bridge~coordinates~Minimap-quest.gif;
68.52, 59.26~AI Test~coordinates~Minimap-quest.gif;
68, 60~Rough Target~coordinates~Minimap-quest.gif;
50, 50~Center~~Minimap-quest.gif;
0, 0~Bottom left~~Minimap-quest.gif;
100, 100~Top right~~Minimap-quest.gif;
0, 100~Bottom right~~Minimap-quest.gif;-->
|circles=80.46, 82.83:1~Cave Troll~~red~0.5~3~yellow~0.25;
|image layers=V1 detailed map.png
|geojson=V1 detailed map
|width=200
|height=150
|zoom=3
|scrollzoom=on
|minzoom=1
|maxzoom=5
|center=80.46, 82.83
}}
-->

Revision as of 00:44, 15 August 2024

Warning:
This page is in draft.

Description

This is the Interactive map template. It should be transcluded in the following format:

{{Interactive map
|
|
|
|
}}

Parameters

WIP

Example

{{interactive map|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}}

Name: Cave Troll

Coordinates: 80.45614, 82.42852

Description: Cave Troll, level 40, NE V1 near North Gate

Loading map...
83.4, 74.5~North Gate~~Minimap-portal.gif;
60.5, 46.8~Rog (V1)~~Minimap-bindstone.gif;
|circles=80.46, 82.83:1~Cave Troll~~red~0.5~3~yellow~0.25;
|image layers=V1 detailed map.png
|geojson=V1 detailed map
|width=200
|height=150
|zoom=3
|scrollzoom=on
|minzoom=1
|maxzoom=5
|center=80.46, 82.83

}} -->