Module:Track gauge/doc: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
|||
Line 6: | Line 6: | ||
=== Gauge data === |
=== Gauge data === |
||
The gauge information is stored at [[Module:Track gauge/data]]; to add new gauges, see the instructions there. |
The gauge information is stored at [[Module:Track gauge/data]]; to add new gauges, see the instructions there. |
||
==== Data checks ==== |
==== Data checks ==== |
||
This module includes a function that checks the data page for errors. It is used with the following code: |
This module includes a function that checks the data page for errors. It is used with the following code: |
||
Line 14: | Line 15: | ||
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]]. |
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]]. |
||
== Tracking |
== Tracking category == |
||
<!-- defunct * [//en.wikipedia.org/w/index.php?title=Category:Tracking_categories&subcatfrom=Articles+that+mention+track+gauge Category:Articles that mention track gauge ...] (over 200 categories, click link for list) --> |
|||
* {{clc|Articles using Template:Track gauge with unrecognized input}} |
* {{clc|Articles using Template:Track gauge with unrecognized input}} |
||
<includeonly>{{ |
<includeonly>{{Sandbox other|| |
||
<!-- Categories below this line, please; interwikis at Wikidata --> |
|||
[[Category:Modules that add a tracking category]] |
[[Category:Modules that add a tracking category]] |
||
[[Category:Rail modules]] |
|||
}}</includeonly> |
}}</includeonly> |
Revision as of 12:42, 30 January 2022
![]() | This module depends on the following other modules: |
![]() | This module uses TemplateStyles: |
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.
Tracking category