Template:Interactive map: Difference between revisions

From FHX Wiki
No edit summary
mNo edit summary
Line 197: Line 197:
  {{#expr:((2730*0.006510)+50)}}, {{#expr:((-836*0.006510)+50)}}~[[Material Shop]]~[[Wind Tucker]]~Minimap-etc.gif;
  {{#expr:((2730*0.006510)+50)}}, {{#expr:((-836*0.006510)+50)}}~[[Material Shop]]~[[Wind Tucker]]~Minimap-etc.gif;
  {{#expr:((-1435*0.006510)+50)}}, {{#expr:((-2806*0.006510)+50)}}~[[Magic Goods]]~[[Joann Meginli]]~Minimap-etc.gif;
  {{#expr:((-1435*0.006510)+50)}}, {{#expr:((-2806*0.006510)+50)}}~[[Magic Goods]]~[[Joann Meginli]]~Minimap-etc.gif;
  {{#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)}}~Bernard Welch~[[Mobile Shop]]~Minimap-etc.gif;
  {{#expr:((707*0.006510)+50)}}, {{#expr:((-876*0.006510)+50)}}~[[Mobile Shop]]~Bernard Welch~Minimap-etc.gif;
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=

Revision as of 19:23, 19 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
|map=
|N=
|E=
|name=
|description=
|radius=
|center=
|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
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}}

map is work in progress

Loading map...
{{interactive map|map=Idios|N=-2275|E=-3640|name=Small Fog Wolf|circle=on}}

map is work in progress

Loading map...
{{interactive map|map=Depthless Orifice/50+}}

map is work in progress

Loading map...
{{interactive map|map=The Forest of the Abandoned|N=-426|E=-318|circle=on|radius=1|zoom=4}}

map is work in progress

Loading map...

TODO

  • Look into adding cluster function
  • Add markers for unmarked towns/cities (eg. Midland, Dusty Town, Gypsy Village, etc.)
  • Add markers for unmarked arena entrances (eg. Midland and Palmas)
  • Upload lower res "clean" versions of each map to display as thumbnails in location infoboxes.
    • Under consideration - very low priority at the moment.