Module:Location Table/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} Module powering {{T|Location Table}}. To use directly, _main takes a table with arguments in the same format as the template.") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation}} |
{{Documentation}} |
||
This module is used by {{T|LocTableHead}}, {{T|LocLine}} and {{T|LocTableBottom}}. |
|||
Module powering {{T|Location Table}}. |
|||
In {{T|LocTableHead}}: Saves the <syntaxhighlight lang="wikitext" inline>{{{version}}}</syntaxhighlight> argument. |
|||
To use directly, _main takes a table with arguments in the same format as the template. |
|||
In {{T|LocLine}}: Sets a smw subobject for each location, saves the location and quantity and generates the table row. |
|||
In {{T|LocTableBottom}}: Retrieves the location and quantity each LocLine was called with and stores the [[Property:Location JSON]]. |
Latest revision as of 17:58, 16 December 2024
Module:Location Table's function bottom is invoked by Template:LocTableBottom.
Module:Location Table's function head is invoked by Template:LocTableHead.
Module:Location Table's function line is invoked by Template:LocLine.
Module:Location Table requires Module:Break Isolation.
Module:Location Table requires Module:Edit button.
Module:Location Table requires Module:Param Parse.
Module:Location Table requires strict.
This module is used by {{LocTableHead}}
, {{LocLine}}
and {{LocTableBottom}}
.
In {{LocTableHead}}
: Saves the {{{version}}}
argument.
In {{LocLine}}
: Sets a smw subobject for each location, saves the location and quantity and generates the table row.
In {{LocTableBottom}}
: Retrieves the location and quantity each LocLine was called with and stores the Property:Location JSON.