Template:LocTableHead: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 3: Line 3:
<th>Location</th>
<th>Location</th>
<th>Episode</th>
<th>Episode</th>
<th>Qty.</th>
<th>Quantity</th>
</tr>{{#vardefine:loc_version|{{{version|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
</tr>{{#vardefine:loc_version|{{{version|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 15:48, 14 December 2024

Template documentation
This documentation is transcluded from Template:LocTableHead/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:

Lua error in Module:Location_Table at line 23: Template:LocLine when not in a location table (Missing Template:LocTableHead?).Lua error in Module:Location_Table at line 51: Template:LocTableBottom when not in a location table (Missing Template:LocTableHead?).

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