Template:LocLine/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(2 intermediate revisions by one other user not shown)
Line 24: Line 24:
===quantity===
===quantity===
The quantity of the entity found in the location.
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==
==Unfilled location lines for quick copy-paste==

Latest revision as of 12:09, 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.

Unfilled location lines for quick copy-paste

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