Difference between revisions of "Module:Track gauge/doc"
Jump to navigation
Jump to search
blackwiki>DePiep m (DePiep moved page Module:RailGauge/doc to Module:Track gauge/doc: follow main module & template name change) |
m (17 revisions imported) |
||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{lua|Module:Track gauge/data}} | ||
| + | {{Module rating|protected}} | ||
| + | |||
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. | ||
=== Gauge data === | === Gauge data === | ||
| − | The gauge information is stored at [[Module: | + | 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 9: | Line 12: | ||
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/maintenance 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}} | ||
| + | |||
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| + | [[Category:Modules that add a tracking category]] | ||
| + | |||
| + | }}</includeonly> | ||
Latest revision as of 17:34, 29 September 2020
| 30px | This module depends on the following other modules: |
| 40x40px | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
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/maintenance category