Template:LocTableBottom: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Set smw property for a json of all locations)
 
Line 1: Line 1:
<includeonly></table>{{#invoke:Location Table|bottom}}</includeonly><noinclude>{{/doc}}</noinclude>
</table>{{#vardefine:loc_json|{{#var:loc_json}}{{#if:{{#var:loc_json}}||{{(}}}}{{)}}}}{{#if:{{#var:loc_version}}|{{#subobject:{{#var:loc_version}}|Location JSON={{#var:loc_json}}}}|{{#set:Location JSON={{#var:loc_json}}}}}}{{#vardefine:loc_json|}}<noinclude>{{/doc}}</noinclude>

Latest revision as of 16:34, 16 December 2024

Template documentation
This documentation is transcluded from Template:LocTableBottom/doc. [edit] [history] [purge]
Template:LocTableBottom invokes function bottom in Module:Location Table using Lua.

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