Template:LocLine/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(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
(Noting that the external map coordinate system is pretty arbitrary and it's likely to change in the future. I've tweeted Andrew asking for a way to see actual in-game coords to be used here.)
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, as seen on the map found at https://bsmap.osrs.cloud/.
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/. The coordinate system is likely to be replaced with something less arbitrary once we know more about it. Coordinates aren't currently used for anything, but just collected as data for future use.


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

Revision as of 11:41, 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/. The coordinate system is likely to be replaced with something less arbitrary once we know more about it. Coordinates aren't currently used for anything, but just collected as data for future use.

Unfilled location lines for quick copy-paste

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