Template:ObjectLocLine/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 15:47, 15 October 2024 (Created page with "{{documentation}} 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. ==See also== This template should be used for scenery object locations. Location lists for other entities include: * {{T|LocLine}} - Used for NPC/monster spawn locations * {{T|ItemSpawnLine}} - Used for item spawns * {{T|ShopLocLine}} - Used for sh..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:ObjectLocLine.
It contains usage information, categories, and other content that is not part of the original template page.
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.

See also

This template should be used for scenery object locations. Location lists for other entities include:

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

Example

{{ObjectTableHead}}
{{ObjectLocLine
|name = Dairy churn
|location = [[Hosidius]] West of the plows
|members = Yes
|mapID = 0
|plane = 0
|x:1747,y:3536
|mtype = pin
}}
{{ObjectTableBottom}}

produces:

Location Members Spawns Map
Hosidius West of the plowsMembers1Maplink