Template:Interactive map: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
<noinclude>{{page warning}}</noinclude><includeonly> | <noinclude>{{page warning}}</noinclude><includeonly>{{#switch:{{{map|V3}}}|V1= | ||
{{#display_map: | {{#display_map: | ||
{{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}}~{{{name|}}}~{{{description|}}}~ | 50, 50~Center~Test~Minimap-quest.gif; | ||
83.4, 74.5~North Gate~~Minimap-portal.gif; | |||
60.5, 46.8~Rog (V1)~~Minimap-etc.gif; | |||
|circles={{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}}:1~{{{name|}}}~{{{description|}}}~red~0.5~3~yellow~0.25; | |||
|center={{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}} | |||
|image layers=V1 detailed map.png | |image layers=V1 detailed map.png | ||
|zoom=5 | |zoom=5 | ||
|scrollzoom=on | |scrollzoom=on | ||
|minzoom= | |minzoom=4 | ||
|maxzoom=6 | |maxzoom=6 | ||
|center={{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}} | }}|V3= | ||
}}</includeonly><noinclude> | {{#display_map: | ||
16.8, 16.3~Portal to Silent Woods~~Minimap-portal.gif; | |||
11.75, 19.57~Rog Imperial City~[[Rog Imperial City (V3)|Rog Imperial City]]~Minimap-etc.gif; | |||
|circles={{{N|}}}, {{{E|}}}:1~{{{name|}}}~{{{description|}}}~red~0.5~3~yellow~0.25; | |||
|center={{{N|}}}, {{{E|}}} | |||
|image layers=V3 detailed map.png | |||
|zoom=5 | |||
|scrollzoom=on | |||
|minzoom=4 | |||
|maxzoom=6 | |||
}} | |||
}} | |||
Map: {{{map|}}} | |||
Marker Name: {{{name|}}} | |||
Wikimap Coordinates: {{#expr:(({{{N|}}}*0.00926)+50)}}, {{#expr:(({{{E|}}}*0.00926)+50)}} | |||
Description: {{{description|}}}</includeonly><noinclude> | |||
== Description == | == Description == | ||
This is the '''{{PAGENAME}}''' template. | This is the '''{{PAGENAME}}''' template. | ||
Line 24: | Line 36: | ||
<pre> | <pre> | ||
{{Interactive map | {{Interactive map | ||
| | |map= | ||
| | |N= | ||
| | |E= | ||
| | |name= | ||
|description= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 34: | Line 47: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
{{interactive map|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}} | {{interactive map|map=V1|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}} | ||
</pre> | |||
{{interactive map|map=V1|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}} | |||
<pre> | |||
{{interactive map|map=V3|N=15|E=18|name=Test|description=}} | |||
</pre> | </pre> | ||
{{interactive map|N= | {{interactive map|map=V3|N=15|E=18|name=Test|description=}} | ||
}} | |||
Revision as of 04:02, 15 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= }}
Parameters
WIP
Example
{{interactive map|map=V1|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}}
Map: V1
Marker Name: Cave Troll
Wikimap Coordinates: 80.45614, 82.42852
Description: Cave Troll, level 40, NE V1 near North Gate
{{interactive map|map=V3|N=15|E=18|name=Test|description=}}
Map: V3
Marker Name: Test
Wikimap Coordinates: 50.1389, 50.16668
Description: