RuneScape:Editing/Interactive maps

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, 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 calculatpor 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

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.

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.

See also[edit source]

Want some more help?