Jump to content

Fyrimynd:Track gauge/document gauge/doc

Frá Wikipedia, hin frælsa alfrøðin

All unnamed parameters are read as aliases (rail gauge definition). Unnamed parameter |all lists all rail gauges. |docfrom= or |docto= can limit that list one sided.

{{Track gauge/document gauge
|
| docfrom =
| docto =
| doctitle =
| docstate =
| docstats = 
}}

Parameters

[rætta wikitekst]
  • Unnamed parameter(s) for gauge definitions:
{{Track gauge/document gauge|4ft}}
An input will show the existing variants (metric and imperial) in one row (one gauge size).

Can be a list of gauges:

{{Track gauge/document gauge|1000mm|3ft|sg}} will produce the three gauges documented (three rows).

Can be a numeric id (=size in mm):

{{Track gauge/document gauge|1664|1668|1672}}

Can be all to show the whole list:

{{Track gauge/document gauge|all}}
  • docfrom, docto to list a range of gauges, inclusive.

{Track gauge/document gauge|docfrom=3ft|docto=4ft}}

Omitting one of two will show the list from 0 or to maximum, respectively.
Any unnamed gauge parameter will be shown in top:
{{Track gauge/document gauge|1668mm|docfrom=1600mm|docto=1700mm}}
  • doctitle sets the table title. Default is "Rail gauges".
  • docstate sets the show/hide status.

Can be collapsed, uncollapsed, autocollapse. Default is uncollapsed.

  • docstats
    =on
    
    adds a list with statistics (counters) for the list.

Gauge color key

[rætta wikitekst]

The colors below are used as legend colors for specific gauges Fyrimynd:Track gauge/color legend

Sí eisini

[rætta wikitekst]
{{Track gauge/doc/input options}}