Template:Interactive map: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
  {{#expr:((1250*0.009259)+50)}}, {{#expr:((-4500*0.009259)+50)}}~[[Saltic Lake]]~ ~Minimap-user.gif;
  {{#expr:((1250*0.009259)+50)}}, {{#expr:((-4500*0.009259)+50)}}~[[Saltic Lake]]~ ~Minimap-user.gif;
  {{#expr:((1250*0.009259)+50)}}, {{#expr:((4500*0.009259)+50)}}~[[Sunrising Lake]]~ ~Minimap-user.gif;
  {{#expr:((1250*0.009259)+50)}}, {{#expr:((4500*0.009259)+50)}}~[[Sunrising Lake]]~ ~Minimap-user.gif;
{{#expr:((-1614*0.009259)+50)}}, {{#expr:((-4019*0.009259)+50)}}~[[Gladshelm]]~ ~Minimap-user.gif;
   
   
  {{#expr:((1100.0*0.009259)+50)}}, {{#expr:((-792.0*0.009259)+50)}}~[[Bindstone]]~ ~Minimap-town.gif;
  {{#expr:((1100.0*0.009259)+50)}}, {{#expr:((-792.0*0.009259)+50)}}~[[Bindstone]]~ ~Minimap-town.gif;
Line 39: Line 40:
  {{#expr:((369*0.009259)+50)}}, {{#expr:((-278*0.009259)+50)}}~PVP Entrance: [[Depthless Orifice/All|Depthless Orifice (All PVP)]]~along road south of [[Rog Imperial City (V1)|Rog Imperial City]]~Minimap-fortress.gif;
  {{#expr:((369*0.009259)+50)}}, {{#expr:((-278*0.009259)+50)}}~PVP Entrance: [[Depthless Orifice/All|Depthless Orifice (All PVP)]]~along road south of [[Rog Imperial City (V1)|Rog Imperial City]]~Minimap-fortress.gif;
  {{#expr:((1191*0.009259)+50)}}, {{#expr:((-826*0.009259)+50)}}~PVP Entrance: [[Depthless Orifice/30-49|Depthless Orifice (30-49 PVP)]]~outside west gate of [[Rog Imperial City (V1)|Rog Imperial City]]~Minimap-fortress.gif;
  {{#expr:((1191*0.009259)+50)}}, {{#expr:((-826*0.009259)+50)}}~PVP Entrance: [[Depthless Orifice/30-49|Depthless Orifice (30-49 PVP)]]~outside west gate of [[Rog Imperial City (V1)|Rog Imperial City]]~Minimap-fortress.gif;
  {{#expr:((-1423*0.009259)+50)}}, {{#expr:((-4188*0.009259)+50)}}~[[Gladshelm]]~ ~Minimap-fortress.gif;
  {{#expr:((-1423*0.009259)+50)}}, {{#expr:((-4188*0.009259)+50)}}~GVG Entrance: [[The Forest of the Abandoned]]~ ~Minimap-fortress.gif;
   
   
  {{#expr:((1300.65*0.009259)+50)}}, {{#expr:((-456.065*0.009259)+50)}}~[[Blacksmith]]~ ~Minimap-etc.gif;
  {{#expr:((1300.65*0.009259)+50)}}, {{#expr:((-456.065*0.009259)+50)}}~[[Blacksmith]]~ ~Minimap-etc.gif;
Line 117: Line 118:
  {{#expr:((-3439*0.006510)+50)}}, {{#expr:((-3731*0.006510)+50)}}~[[Mirror Lake]]~ ~Minimap-user.gif;
  {{#expr:((-3439*0.006510)+50)}}, {{#expr:((-3731*0.006510)+50)}}~[[Mirror Lake]]~ ~Minimap-user.gif;
  {{#expr:((-2628*0.006510)+50)}}, {{#expr:((-3892*0.006510)+50)}}~[[Thrill Fall]]~ ~Minimap-user.gif;
  {{#expr:((-2628*0.006510)+50)}}, {{#expr:((-3892*0.006510)+50)}}~[[Thrill Fall]]~ ~Minimap-user.gif;
{{#expr:((-1870*0.006510)+50)}}, {{#expr:((-3462*0.006510)+50)}}~[[Black Bridge]]~ ~Minimap-user.gif;
{{#expr:((-1968*0.006510)+50)}}, {{#expr:((-3167*0.006510)+50)}}~[[Blackstone Cemetery]]~ ~Minimap-user.gif;
{{#expr:((-2059*0.006510)+50)}}, {{#expr:((-3775*0.006510)+50)}}~[[Dead Man's Holyland]]~ ~Minimap-user.gif;
{{#expr:((-1901*0.006510)+50)}}, {{#expr:((-3862*0.006510)+50)}}~[[Foggy Cemetery]]~ ~Minimap-user.gif;
{{#expr:((-2257*0.006510)+50)}}, {{#expr:((-3919*0.006510)+50)}}~[[Oblivious Sea Cliff]]~ ~Minimap-user.gif;
{{#expr:((27*0.006510)+50)}}, {{#expr:((-251*0.006510)+50)}}~[[Spear Road]]~ ~Minimap-user.gif;
{{#expr:((-323*0.006510)+50)}}, {{#expr:((-1535*0.006510)+50)}}~[[Valley of Dishonor]]~ ~Minimap-user.gif;
{{#expr:((-527*0.006510)+50)}}, {{#expr:((-749*0.006510)+50)}}~[[Valley Gate]]~ ~Minimap-user.gif;
{{#expr:((-331*0.006510)+50)}}, {{#expr:((-675*0.006510)+50)}}~[[Wolven Gorge]]~ ~Minimap-user.gif;


  {{#expr:((-4906*0.006510)+50)}}, {{#expr:((-4468*0.006510)+50)}}~[[Bindstone]]~ ~Minimap-town.gif;
  {{#expr:((-4906*0.006510)+50)}}, {{#expr:((-4468*0.006510)+50)}}~[[Bindstone]]~ ~Minimap-town.gif;
Line 169: Line 179:
  {{#expr:((-5450*0.006510)+50)}}, {{#expr:((-4351*0.006510)+50)}}~[[Grocer]]~[[Elia Baskin]]~Minimap-etc.gif;
  {{#expr:((-5450*0.006510)+50)}}, {{#expr:((-4351*0.006510)+50)}}~[[Grocer]]~[[Elia Baskin]]~Minimap-etc.gif;
  {{#expr:((-5454*0.006510)+50)}}, {{#expr:((-4351*0.006510)+50)}}~[[Grocer]]~[[Ainese Gray]]~Minimap-etc.gif;
  {{#expr:((-5454*0.006510)+50)}}, {{#expr:((-4351*0.006510)+50)}}~[[Grocer]]~[[Ainese Gray]]~Minimap-etc.gif;
  {{#expr:((-5383*0.006510)+50)}}, {{#expr:((-4485*0.006510)+50)}}~[[Blacksmith]]~[[McKinley Gillon]]~Minimap-etc.gif;
  {{#expr:((-5383*0.006510)+50)}}, {{#expr:((-4485*0.006510)+50)}}~[[Apprentice Blacksmith]]~[[McKinley Gillon]]~Minimap-etc.gif;
  {{#expr:((-5378*0.006510)+50)}}, {{#expr:((-4489*0.006510)+50)}}~[[Blacksmith]]~[[Lui Canton]]~Minimap-etc.gif;
  {{#expr:((-5378*0.006510)+50)}}, {{#expr:((-4489*0.006510)+50)}}~[[Apprentice Blacksmith]]~[[Lui Canton]]~Minimap-etc.gif;
  {{#expr:((-4358*0.006510)+50)}}, {{#expr:((-4923*0.006510)+50)}}~[[Mobile Shop]]~[[John Williams]]~Minimap-etc.gif;
  {{#expr:((-4358*0.006510)+50)}}, {{#expr:((-4923*0.006510)+50)}}~[[Mobile Shop]]~[[John Williams]]~Minimap-etc.gif;
  {{#expr:((-4763*0.006510)+50)}}, {{#expr:((-4016*0.006510)+50)}}~[[Mobile Shop]]~[[John M. Kane]]~Minimap-etc.gif;
  {{#expr:((-4763*0.006510)+50)}}, {{#expr:((-4016*0.006510)+50)}}~[[Mobile Shop]]~[[John M. Kane]]~Minimap-etc.gif;
Line 321: Line 331:
  {{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~#0FF~0.35~10~white~0.1;}}
  {{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}~{{#if:{{{description|}}}|{{{description}}}}}~#0FF~0.35~10~white~0.1;}}
  |center=
  |center=
  {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|{{#expr:((163*0.03255208333)+50)}}, {{#expr:((110*0.03255208333)+50)}}}}
  {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|{{#expr:((-50*0.03255208333)+50)}}, {{#expr:((0*0.03255208333)+50)}}}}
  |image layers=Great Rebellion map.png
  |image layers=Great Rebellion map.png
  |zoom={{#if:{{{zoom|}}}|{{{zoom}}}|3}}
  |zoom={{#if:{{{zoom|}}}|{{{zoom}}}|3}}
Line 465: Line 475:
{{interactive map|map=ROG continent}}
{{interactive map|map=ROG continent}}


{{interactive map|map=Snow Storm}}
{{interactive map|map=Great Rebellion}}


== TODO ==
== TODO ==

Latest revision as of 17:34, 1 November 2024

Description

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

{{Interactive map
|map=
|N=
|E=
|name=
|description=
|radius=
|center=
|circle=
|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.
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
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.
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
  • 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.