Template:LocLine/doc

From Brighter Shores Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:LocLine.
It contains usage information, categories, and other content that is not part of the original template page.

The LocLine templates are used to list an entity's locations. Three templates are used to form the locations table:

  • {{LocTableHead}} - Contains table headers for the top of the locations table
  • {{LocLine}} - Template for all of the individual location lines
  • {{LocTableBottom}} - Contains table footers for the bottom of the locations table

Example

{{LocTableHead}}
{{LocLine|loc=Apothecary|quantity=1}}
{{LocTableBottom}}

gives:

Parameter details

loc

The name of the location the entity is found.

quantity

The quantity of the entity found in the location.

Unnamed parameters

The coordinates of each entity in the location as a pair of non-negative integers, with 0,0 corresponding the south-western tile in the room if the walkable tiles were expanded into a minimal rectangle.

Unfilled location lines for quick copy-paste

{{LocTableHead}}
{{LocLine|location=|quantity=}}
{{LocTableBottom}}