Template:Interactive map: Difference between revisions

From FHX Wiki
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
  {{#expr:((-2044*0.009259)+50)}}, {{#expr:((960*0.009259)+50)}}~[[Valley of Wailing River]]~ ~Minimap-user.gif;
  {{#expr:((-2044*0.009259)+50)}}, {{#expr:((960*0.009259)+50)}}~[[Valley of Wailing River]]~ ~Minimap-user.gif;
  {{#expr:((-2700*0.009259)+50)}}, {{#expr:((-1085*0.009259)+50)}}~[[Valley of Wind]]~ ~Minimap-user.gif;
  {{#expr:((-2700*0.009259)+50)}}, {{#expr:((-1085*0.009259)+50)}}~[[Valley of Wind]]~ ~Minimap-user.gif;
{{#expr:((2685*0.009259)+50)}}, {{#expr:((-1740*0.009259)+50)}}~[[Wailing River]]~ ~Minimap-user.gif;
  {{#expr:((-12*0.009259)+50)}}, {{#expr:((-1460*0.009259)+50)}}~[[Lumber Area]]~ ~Minimap-user.gif;
  {{#expr:((-12*0.009259)+50)}}, {{#expr:((-1460*0.009259)+50)}}~[[Lumber Area]]~ ~Minimap-user.gif;
  {{#expr:((2685*0.009259)+50)}}, {{#expr:((2300*0.009259)+50)}}~[[Grand Marsh]]~ ~Minimap-user.gif;
  {{#expr:((2685*0.009259)+50)}}, {{#expr:((2300*0.009259)+50)}}~[[Grand Marsh]]~ ~Minimap-user.gif;
Line 73: Line 74:
  {{#expr:((1187*0.009259)+50)}}, {{#expr:((-2452*0.009259)+50)}}~[[Mobile Shop]]~[[Oz Scott]]~Minimap-etc.gif;
  {{#expr:((1187*0.009259)+50)}}, {{#expr:((-2452*0.009259)+50)}}~[[Mobile Shop]]~[[Oz Scott]]~Minimap-etc.gif;
  {{#expr:((-2108*0.009259)+50)}}, {{#expr:((-1654*0.009259)+50)}}~[[Mobile Shop]]~need npc name~Minimap-etc.gif;
  {{#expr:((-2108*0.009259)+50)}}, {{#expr:((-1654*0.009259)+50)}}~[[Mobile Shop]]~need npc name~Minimap-etc.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.009259)+50)}}, {{#expr:(({{{E|}}}*0.009259)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.009259)+50)}}, {{#expr:(({{{E|}}}*0.009259)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 249: Line 255:
  {{#expr:((708*0.006510)+50)}}, {{#expr:((-877*0.006510)+50)}}~[[Mobile Shop]]~[[Gerald Mordon]]~Minimap-etc.gif;
  {{#expr:((708*0.006510)+50)}}, {{#expr:((-877*0.006510)+50)}}~[[Mobile Shop]]~[[Gerald Mordon]]~Minimap-etc.gif;
  {{#expr:((707*0.006510)+50)}}, {{#expr:((-876*0.006510)+50)}}~[[Mobile Shop]]~Bernard Welch~Minimap-etc.gif;
  {{#expr:((707*0.006510)+50)}}, {{#expr:((-876*0.006510)+50)}}~[[Mobile Shop]]~Bernard Welch~Minimap-etc.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.006510)+50)}}, {{#expr:(({{{E|}}}*0.006510)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.006510)+50)}}, {{#expr:(({{{E|}}}*0.006510)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 280: Line 291:
{{#display_map:
{{#display_map:
  {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~Portal: [[Rog Imperial City (V1)|Rog Imperial City]]~Outside west gate~Minimap-portal.gif;
  {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~Portal: [[Rog Imperial City (V1)|Rog Imperial City]]~Outside west gate~Minimap-portal.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 296: Line 312:
  {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~Portal: [[Rog Imperial City (V1)|Rog Imperial City]]~Along road outside south gate~Minimap-portal.gif;
  {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~Portal: [[Rog Imperial City (V1)|Rog Imperial City]]~Along road outside south gate~Minimap-portal.gif;
  {{#expr:((149*0.03255208333)+50)}}, {{#expr:((120*0.03255208333)+50)}}~Portal: [[Dusty Gorge]]~~Minimap-portal.gif;
  {{#expr:((149*0.03255208333)+50)}}, {{#expr:((120*0.03255208333)+50)}}~Portal: [[Dusty Gorge]]~~Minimap-portal.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |rectangles=100,100:0,55~''BLOCKED''~This section of the map is not currently used.~black~1~1~black~1
  |rectangles=100,100:0,55~''BLOCKED''~This section of the map is not currently used.~black~1~1~black~1
  |circles=
  |circles=
Line 313: Line 334:
  {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~Portal: [[Giants' Terrtitory]]~~Minimap-portal.gif;
  {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~Portal: [[Giants' Terrtitory]]~~Minimap-portal.gif;
  {{#expr:((149*0.03255208333)+50)}}, {{#expr:((120*0.03255208333)+50)}}~Portal: [[Giants' Terrtitory]]~~Minimap-portal.gif;
  {{#expr:((149*0.03255208333)+50)}}, {{#expr:((120*0.03255208333)+50)}}~Portal: [[Giants' Terrtitory]]~~Minimap-portal.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |rectangles=100,100:0,55~''BLOCKED''~This section of the map is not currently used.~black~1~1~black~1
  |rectangles=100,100:0,55~''BLOCKED''~This section of the map is not currently used.~black~1~1~black~1
  |circles=
  |circles=
Line 331: Line 357:


  {{#expr:((395*0.03255208333)+50)}}, {{#expr:((-80*0.03255208333)+50)}}~[[Mobile Shop]]~need npc name~Minimap-etc.gif;
  {{#expr:((395*0.03255208333)+50)}}, {{#expr:((-80*0.03255208333)+50)}}~[[Mobile Shop]]~need npc name~Minimap-etc.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 346: Line 377:
{{#display_map:
{{#display_map:
  {{#expr:((-199*0.03255208333)+50)}}, {{#expr:((-353*0.03255208333)+50)}}~Party Start~~Minimap-user.gif;
  {{#expr:((-199*0.03255208333)+50)}}, {{#expr:((-353*0.03255208333)+50)}}~Party Start~~Minimap-user.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 365: Line 401:
  {{#expr:((305*0.03255208333)+50)}}, {{#expr:((414*0.03255208333)+50)}}~Defender Start~ ~Minimap-user.gif;
  {{#expr:((305*0.03255208333)+50)}}, {{#expr:((414*0.03255208333)+50)}}~Defender Start~ ~Minimap-user.gif;
  {{#expr:((-963*0.03255208333)+50)}}, {{#expr:((-1171*0.03255208333)+50)}}~Challenger Start~ ~Minimap-user.gif;
  {{#expr:((-963*0.03255208333)+50)}}, {{#expr:((-1171*0.03255208333)+50)}}~Challenger Start~ ~Minimap-user.gif;
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 379: Line 420:
}}|The Valley of Blood=
}}|The Valley of Blood=
{{#display_map:
{{#display_map:
{{#switch:{{{marker|off}}}
  |quest={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-quest.gif
  |misc={{#expr:(({{{N|}}}*0.03255208333)+50)}}, {{#expr:(({{{E|}}}*0.03255208333)+50)}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~Minimap-user.gif
}}
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 411: Line 457:
|name=
|name=
|description=
|description=
|radius=
|marker=
|center=
|center=
|circle=
|circle=
|radius=
|zoom=
|zoom=
|height=
|height=
Line 432: Line 479:
;name : Optional. Marker title.
;name : Optional. Marker title.
;description : Optional. Marker description.
;description : Optional. Marker description.
; marker : Optional. Toggle marker on or off. Defaults to off. Options:
:: quest
:: misc
;circle : Optional. Toggle circle on or off. Defaults to off.
;radius : Optional. Include to increase circle radius (min. 1).
;radius : Optional. Include to increase circle radius (min. 1).
;center : Optional. Include to center map on an area/region in Glorious Imperial Territory or Idios. Defaults to Rog Imperial City. In instanced maps, defaults to map origin. Otherwise, centers the map on provided coordinates. Options:
;center : Optional. Include to center map on an area/region in Glorious Imperial Territory or Idios. Defaults to Rog Imperial City. In instanced maps, defaults to map origin. Otherwise, centers the map on provided coordinates. Options:
Line 451: Line 502:
:: Tranquil Swamp
:: Tranquil Swamp
:: Giants' Territory
:: Giants' Territory
;circle : Optional. Toggle circle marker on or off. Defaults to off.
;zoom : Optional. Include to adjust the default zoom level. Low number zooms out, higher number zooms in.
;zoom : Optional. Include to adjust the default zoom level. Low number zooms out, higher number zooms in.
;height : Optional. Include to adjust the height of the map widget (eg. 250). Defaults to auto.
;height : Optional. Include to adjust the height of the map widget (eg. 250). Defaults to auto.
Line 481: Line 531:
{{interactive map|map=Great Rebellion}}
{{interactive map|map=Great Rebellion}}


<!--
{{#mapsdoc:leaflet|parameters=all}}
-->
== TODO ==
== TODO ==
* Cluster function
* Cluster function
Line 488: Line 541:
** Under consideration - very low priority at the moment.
** Under consideration - very low priority at the moment.


[[Category:Interactive map]]
</noinclude>
</noinclude>

Latest revision as of 05:45, 16 April 2025

Description

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

{{Interactive map
|map=
|N=
|E=
|name=
|description=
|marker=
|center=
|circle=
|radius=
|zoom=
|height=
|width=
}}

Parameters

map
Required. Map to display. Defaults to Idios. Options:
Glorious Imperial Territory
Idios
Depthless Orifice
Great Rebellion
Snow Storm
The Forest of the Abandoned
The Valley Of Blood
N
Required. In-game N coordinate (N from world map, or y from /location).
E
Required. In-game E coordinate (E from world map, or x from /location).
name
Optional. Marker title.
description
Optional. Marker description.
marker
Optional. Toggle marker on or off. Defaults to off. Options:
quest
misc
circle
Optional. Toggle circle on or off. Defaults to off.
radius
Optional. Include to increase circle radius (min. 1).
center
Optional. Include to center map on an area/region in Glorious Imperial Territory or Idios. Defaults to Rog Imperial City. In instanced maps, defaults to map origin. Otherwise, centers the map on provided coordinates. Options:
Rog Imperial City
Central
Northeast
East
Southeast
South
Southwest
West
Northwest
Rog Imperial Castle Area
Green Valley
Silent Woods
Midland
Dusty Gorge
Palmas
Tranquil Swamp
Giants' Territory
zoom
Optional. Include to adjust the default zoom level. Low number zooms out, higher number zooms in.
height
Optional. Include to adjust the height of the map widget (eg. 250). Defaults to auto.
width
Optional. Include to adjust the width of the map widget (eg. 250). Defaults to auto.

Example

{{interactive map|map=Glorious Imperial Territory|N=1153|E=-376}}
Loading map...
{{interactive map|map=Idios|N=-2275|E=-3640|name=Small Fog Wolf|circle=on}}
Loading map...
{{interactive map|map=Depthless Orifice/50+|N=-70|E=-693|name=Cultist Priest|circle=on|radius=1|zoom=4}}
Loading map...
{{interactive map|map=The Forest of the Abandoned|N=-426|E=-318|name=Elcaven|circle=on|radius=1|zoom=4}}
Loading map...
Loading map...
Loading map...

TODO

  • Cluster function
    • Might not be doable with custom map and icon placement
  • Set up overlays and/or layers for area labels (similar to current V1 world map)
  • Upload lower res "clean" versions of each map to display as thumbnails in location infoboxes.
    • Under consideration - very low priority at the moment.