Template:LocLine

From Brighter Shores Wiki
Revision as of 09:45, 3 November 2024 by InvalidCards (talk | contribs) (Created page with "<includeonly><tr> <td>[[{{{loc}}}]]</td> <td>{{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}</td> </tr>{{#subobject:LOC_{{{loc}}}|Location object={{FULLPAGENAME}}|Located in={{{loc}}}|Location quantity={{#if:{{{quantity|}}}|{{{quantity}}}|Unknown}}}}</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:LocLine/doc. [edit] [history] [purge]

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