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
(Changing to use a 3rd party map that other people have used as well. Its coordinates are similarly arbitrary, but it's easier to open that map to defined some coords.)
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 into a minimal rectangle.
The coordinates of each entity in the location as a pair of non-negative integers, as seen on the map found at https://bsmap.osrs.cloud/.


==Unfilled location lines for quick copy-paste==
==Unfilled location lines for quick copy-paste==

Revision as of 11:10, 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, as seen on the map found at https://bsmap.osrs.cloud/.

Unfilled location lines for quick copy-paste

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