Template:Monster map

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:Monster map/doc. [edit] [purge]
Template:Monster map invokes function monstermap in Module:Map using Lua.

Generates a map for monster (attack-able npcs) spawns, where each spawn point is marked.

Single

{{Monster map|npcname=Aemad|npcid=590|x=2613|y=3294|caption=Aemad's location}} The caption is optional, for all other available parameters see below.

Aemad's location

Multiple

Multiple spawns can be combined, npcid and npcname can be set for all, or each spawn individually. For all other available parameters see below. Pins should be represented as unnamed arguments in the format |param:value,param2:value...|

{{Monster map|npcname=Greater demon|npcid:4701,x:3286,y:3875|npcid:83,x:3286,y:3882|npcid:4698,x:3288,y:3888|npcid:4699,x:3289,y:3897|npcid:4700,x:3299,y:3886}} Multiple spawns can be combined, npcid and npcname can be set for all, or each spawn individually. For all other available parameters see below. Pins should be represented as unnamed arguments in the format |param:value,param2:value...|

Parameters

Template

  • mapID - Map id (see RuneScape:Map/mapIDs for a list) defaults to 28 (surface)
  • plane - The map plane (0 is surface)
  • npcname - Name of the monster
  • npcid - Id of the monster
  • respawn - Respawn time for the item
  • version - The version name (anchor) for the version that spawns. (Should match the version in the infobox)
  • caption - Optional caption
  • align - The alignment, defaults to center
  • width - Width of the map (in px)
  • height - height of the map (in px)
  • zoom - override default zoom
  • x - X-coordinate for the center of the map
  • y - Y-coordinate for the center of the map
  • group - Spawn group
  • nopreprocess - Any value causes the template to output the html element and json instead of rendering the map/link

Per Pin

Will override the common params

  • plane - The map plane (0 is surface)
  • npcname - Name of the npc
  • npcid - Id of the npc
  • respawn - Respawn time for the item
  • objectid - Object id of the npc (if represented as an object)
  • version - The version name (anchor) for the version that spawns. (Should match the version in the infobox)
  • notes - Additional notes to add to the pin description