Template:Interactive map: Difference between revisions
No edit summary |
No edit summary |
||
Line 96: | Line 96: | ||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | ||
Line 106: | Line 106: | ||
|height={{{height}}} | |height={{{height}}} | ||
|width={{{width}}} | |width={{{width}}} | ||
}}|Depthless Orifice/ | }}|Depthless Orifice/30-49= | ||
map is work in progress | map is work in progress | ||
{{#display_map: | {{#display_map: | ||
{{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~[[Portal]]~[[Dusty Gorge]]~Minimap-portal.gif; | {{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~[[Portal]]~[[Rog Imperial City (V1)|Rog Imperial City]]~Minimap-portal.gif; | ||
{{#expr:((149*0.03255208333)+50)}}, {{#expr:((120*0.03255208333)+50)}}~[[Portal]]~[[Dusty Gorge]]~Minimap-portal.gif; | |||
|rectangles=0,55:100,100 | |||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|{{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}}} | ||
|image layers=Depthless Orifice map.png | |image layers=Depthless Orifice map.png | ||
|zoom={{#if:{{{zoom|}}}|{{{zoom}}}|3}} | |zoom={{#if:{{{zoom|}}}|{{{zoom}}}|3}} | ||
Line 122: | Line 124: | ||
|height={{{height}}} | |height={{{height}}} | ||
|width={{{width}}} | |width={{{width}}} | ||
}}|Depthless Orifice/ | }}|Depthless Orifice/50+= | ||
map is work in progress | map is work in progress | ||
{{#display_map: | {{#display_map: | ||
{{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}~[[Portal]]~[[ | {{#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; | |||
|rectangles=0,55:100,100 | |||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|{{#expr:((-327*0.03255208333)+50)}}, {{#expr:((-1048*0.03255208333)+50)}}}} | ||
|image layers=Depthless Orifice map.png | |image layers=Depthless Orifice map.png | ||
|zoom={{#if:{{{zoom|}}}|{{{zoom}}}|3}} | |zoom={{#if:{{{zoom|}}}|{{{zoom}}}|3}} | ||
Line 143: | Line 147: | ||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | ||
Line 158: | Line 162: | ||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | ||
Line 173: | Line 177: | ||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | ||
Line 188: | Line 192: | ||
|circles= | |circles= | ||
{{#switch:{{{circle|off}}}|on= | {{#switch:{{{circle|off}}}|on= | ||
{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}:{{#if:{{{radius|}}}|{{#ifexpr:{{{radius|}}}<1|1|{{{radius}}}}}|2}}~ ~ ~red~0.5~3~yellow~0.25;}} | {{#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}}}}}~red~0.5~3~yellow~0.25;}} | ||
|center= | |center= | ||
{{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | {{#if:{{{N|}}}|{{#if:{{{E|}}}|{{#expr:(({{{N}}}*0.03255208333)+50)}}, {{#expr:(({{{E}}}*0.03255208333)+50)}}}}|50, 50}} | ||
Line 265: | Line 269: | ||
<pre> | <pre> | ||
{{interactive map|map=Depthless Orifice/All}} | {{interactive map|map=Depthless Orifice/All|N=80|E=739|name=[[La Bark]]|circle=on}} | ||
</pre> | </pre> | ||
{{interactive map|map=Depthless Orifice/All}} | {{interactive map|map=Depthless Orifice/All|N=80|E=739|name=[[La Bark]]|circle=on}} | ||
<pre> | <pre> |
Revision as of 16:56, 19 August 2024
Warning:
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
{{interactive map|map=Idios|N=-2275|E=-3640|name=Small Fog Wolf|circle=on}}
map is work in progress
{{interactive map|map=Depthless Orifice/All|N=80|E=739|name=[[La Bark]]|circle=on}}
map is work in progress
{{interactive map|map=The Forest of the Abandoned|N=-426|E=-318|circle=on|radius=1|zoom=4}}
map is work in progress
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.