Template:LocLine/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Specifying how I plan to start listing coordinates. I've asked people how this should be done, but no-one seems to know, so defining something myself.)
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 26: Line 26:


===Unnamed parameters===
===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 to a rectangle.
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==
==Unfilled location lines for quick copy-paste==

Revision as of 10:45, 16 November 2024

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