Predefinição:Mapa NPC/doc

De RuneScape Wiki
Ir para: navegação, pesquisa
Ícone informação.svg
Isto é uma subpágina de documentação para Predefinição:Mapa NPC.
Contém informações de uso, categorias e outros conteúdos que não fazem parte da predefinição original

Generates an area map for npc spawns, with a link to show the specific spawn points (if multiple are present).

Single

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

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...|

{{NPC 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}} Predefinição:NPC map

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 npc
  • npcid - Id of the npc
  • objectid - Object id of the npc (if represented as an object)
  • respawn - Respawn time for the item
  • version - The version name (anchor) for the version that spawns. (Should match the version in the infobox)
  • text - The text to show as a link instead of show exact spawns
  • caption - The text to show instead of # spawns before the link
  • 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
  • type - Set to maplink to show a link to a map of pins, or pins to show a pin map. (Instead of regular rectangle area map)
  • 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
  • objectid - Object id of the npc (if represented as an object)
  • respawn - Respawn time for the item
  • 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