Help:Editing/Interactive maps

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to navigation Jump to search

This guide will cover the basics of adding interactive maps to pages.

Getting coordinates[edit source]

Map coordinates can either be scraped from the cache or retrieved in-game using the getcamerapos command to get Developer Coordinates. A list of mapIDs, which determine which map is available at RuneScape:Map/mapIDs, where possible the mapIDs match those in-game. In either case the coordinates need to be converted to match our maps, a series of calculators to help with this can be found at Calculator:Coordinates, or for basic surface coordinates use the calculator below.

Developer coordinates converter[edit source]

Converts developer to map coordinates, coordinates from developer console can be copy pasted into the field. Will also convert the integer type coordinates from the cache (eg 51891488). Only works for locations on the surface.

  template = Calculator:Template/TextCoords
  form = FormText
  result = ResultText
  param = text|String|0,38,49,8,2|string
Loading calculator (requires JavaScript)...
Please Submit Calculator

Basic Maps[edit source]

Most maps on the wiki can simply use the {{Map}} for maps and {{Maplink}} for links.

Feature Code Example
Basic map {{Map|2613,3294}}
Map link {{Maplink|2613,3294|text=Map link text}} Map link text
Square {{Map|x=2613|y=3294|mtype=square}}
Point {{Map|x=2613|y=3294|mtype=pin}}

For more details and features (such as captions, alignment, polygons etc) see the template page. In general the arguments that work for regular maps work the same way for map links.

Multiple maps together[edit source]

When adding multiple maps to the same section use the {{Multimap}} template, which causes them to wrap to rows based on the viewers screen width.

|title1 = Wilderness Volcano
|map1 = {{Monster map|npcname=Greater demon|npcid:4700,x:3138,y:3679|npcid:4699,x:3149,y:3675|npcid:4701,x:3152,y:3682
|title2 = Demonic Ruins
|map2 = {{Monster map|npcname=Greater demon|npcid:4701,x:3286,y:3875|npcid:83,x:3286,y:3882|npcid:4698,x:3288,y:3888
Wilderness Volcano
Demonic Ruins

Advanced maps[edit source]

Advanced maps are the maps commonly used to display features of a dungeon or other specific map area and are generally fund in the Map: namespace. Previously these were images using predefined markers, with an image map (linking to various pages) layed overtop. These can now generally be handled using interactive maps and the {{Advanced map}} template has been created for this purpose. Note that the old method guide is still available at Help:Editing/Advanced maps/historical.

Special templates[edit source]

Several specific cases use there own templates to generate the maps, the following is an abridged list:

Template Use
{{Monster map}} Used for monster (attackable NPC) locations (creates pins)
{{NPC map}} Used for NPC locations (creates a square)
{{Object map}} Generates a map for object (scenery) locations, where each location point is marked.
{{Item spawns}} Generates a maplink for item spawns, where each spawn point is marked on the map once opened.
Used for clue locations. These templates also generate the tables with the descriptions etc.
{{Advanced map}} Generates an advanced (dungeon) style map.

Infoboxes[edit source]

For pages such as NPCs and locations the maps are located within the infoboxes, either with coordinate arguments or using a map template as an argument, see the individual template pages for exact details.

Historical Maps[edit source]

Historical interactive maps can be created for any time, assuming we have the corresponding map tiles rendered. See RuneScape:Map/mapVersions for a list of available map sets. In addition to historical maps this is also useful for creating maps for seasonal events, objects etc where the map is different during that season (for example a snowed in GE). These can be used with map templates such as {{Map}} or {{Advanced map}} (see template pages for details) as well as directly through the <mapframe> tag itself (see RuneScape:Create Map for details), in both cases the parameter/attribute name is mapVersion.

See also[edit source]

Want some more help?