Template:ObjectLocLine

From Old School RuneScape Wiki
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:ObjectLocLine/doc. [edit] [purge]
Template:ObjectLocLine invokes function main in Module:LocLine using Lua.

Used to generate a table entry for object locations. Provides cells for location string, members, amount of spawns and link to map. See also Template:ObjectTableHead and Template:ObjectTableBottom.

Parameters

Table-related

  • location: location of the object.
  • members: whether the object is member's only. Accepts yes/no. Defaults to no.
  • spawns: amount of spawns the object has. If not defined, automatically takes number from amount of map coordinates.

Map-related

See Template:Map and Module:Map for information on mapping.

  • name
  • mapID
  • plane
  • icon
  • ptype
  • r
  • mtype

Other

  • region: for Trailblazer regions. Currently unused.

Example

{{ObjectTableHead}}
{{ObjectLocLine
|name=Dairy churn
|location = [[Hosidious]] West of the plows
|members = Yes
|mapID = 0
|plane = 0
|x:1747,y:3536
|mtype = pin
}}
{{ObjectTableBottom}}
produces:
Location Members Spawns Map
Hosidious West of the plowsMember icon.png1Maplink