Template:Item spawns

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

Generates a maplink for item spawns, where each spawn point is marked on the map once opened. Spawns located together (eg. in the same building) should be combined into one link.

Usage

Single

{{Item spawns|item=Address form|itemid=11680|plane=1|2739,3581|text=Camelot}}

Camelot

Multiple

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

{{Item spawns|item=Beer|itemid=1917|3077,3439|3077,3443|3080,3441|text=On the tables of the Long Hall in Gunnarsgrunn (three spawns).}}

On the tables of the Long Hall in Gunnarsgrunn (three spawns).

Parameters

Template

  • mapID - Map id (see RuneScape:Map/mapIDs for a list) defaults to 28 (surface)
  • plane - The map plane (0 is surface)
  • item - Name of the item
  • itemid - Id of the item
  • respawn - Respawn time for the item
  • text - The link text to display
  • zoom - override default zoom of map that opens
  • x - X-coordinate for the center of the map (that opens)
  • y - Y-coordinate for the center of the map (that opens)
  • 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)
  • item - Name of the item
  • itemid - Id of the item
  • respawn - Respawn time for the item
  • notes - Additional notes to add to the pin description