Difference between revisions of "Module:Track gauge/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
m
blackwiki>DePiep
(mention /data)
Line 1: Line 1:
 +
{{lua|Module:Track gauge/data|Module:Track gauge/extra}}
 
This module implements the {{tl|Track gauge}} template. Please see the template page for documentation on how to use the main TrackGauge function.
 
This module implements the {{tl|Track gauge}} template. Please see the template page for documentation on how to use the main TrackGauge function.
  

Revision as of 21:07, 22 September 2014

This module implements the {{Track gauge}} template. Please see the template page for documentation on how to use the main TrackGauge function.

Gauge data

The gauge information is stored at Module:Track gauge/data; to add new gauges, see the instructions there.

Data checks

This module includes a function that checks the data page for errors. It is used with the following code:

{{#invoke:Track gauge/autodocument|checkData|name of data page}}

The first positional parameter is the name of the data page that you want to be checked. If this is omitted, the module checks Module:Track gauge/data.