Template:Interactive map: Difference between revisions

From FHX Wiki
No edit summary
Line 44: Line 44:
</pre>
</pre>
== Parameters ==
== Parameters ==
WIP
;map : Required. Map to display.
;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 : Required. Marker title. (may change wikitext to default name to <nowiki>{{PAGENAME}}</nowiki>)
;description : Optional. Marker description.
 
== Example ==
== Example ==
<pre>
<pre>

Revision as of 04:05, 15 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=
}}

Parameters

map
Required. Map to display.
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
Required. Marker title. (may change wikitext to default name to {{PAGENAME}})
description
Optional. Marker description.

Example

{{interactive map|map=V1|N=3289|E=3502|name=Cave Troll|description=Cave Troll, level 40, NE V1 near North Gate}}
Loading map...

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=}}
Loading map...

Map: V3

Marker Name: Test

Wikimap Coordinates: 50.1389, 50.16668

Description: