Template:Interactive map: Difference between revisions

From FHX Wiki
mNo edit summary
mNo edit summary
Line 245: Line 245:
}}|Depthless Orifice/All=
}}|Depthless Orifice/All=
{{#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;
  |circles=
  |circles=
  {{#switch:{{{circle|off}}}|on=
  {{#switch:{{{circle|off}}}|on=
Line 260: Line 260:
}}|Depthless Orifice/30-49=
}}|Depthless Orifice/30-49=
{{#display_map:
{{#display_map:
  {{#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;
  |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

Revision as of 19:06, 4 September 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...

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.