Template:LocTableBottom: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
InvalidCards (talk | contribs) (Created page with "</table><noinclude>{{/doc}}</noinclude>") |
(Set smw property for a json of all locations) |
||
Line 1: | Line 1: | ||
</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> |
|||
</table><noinclude>{{/doc}}</noinclude> |
Revision as of 11:38, 29 November 2024
Template documentation
This documentation is transcluded from Template:LocTableBottom/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:
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}}