Template:LocTableHead: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Use Module:Location Table to track {{{version}}}) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<table class="wikitable sortable filterable sticky-header loctable autosort=1,a align-left-1 align-center-2 align-center-3"> |
<includeonly><table class="wikitable sortable filterable sticky-header loctable autosort=1,a align-left-1 align-center-2 align-center-3"> |
||
<tr> |
<tr> |
||
<th>Location</th> |
<th>Location</th> |
||
<th>Episode</th> |
<th>Episode</th> |
||
<th>Quantity</th> |
<th>Quantity</th> |
||
</tr>{{#invoke:Location Table|head}}<noinclude> |
</tr>{{#invoke:Location Table|head}}</includeonly><noinclude>{{/doc}}</noinclude> |
Latest revision as of 16:43, 16 December 2024
Template documentation
This documentation is transcluded from Template:LocTableHead/doc. [edit] [history] [purge]
Template:LocTableHead invokes function head 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:
Location | Episode | Quantity |
---|---|---|
Apothecary | Hopeport | 1 |
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}}