What is this?
editThis is a copy of Template:RailGauge where I will work on improvements and testing before moving the updates live.
Purpose
editThis template consolidates all of the rail transport track gauge specifications into one standard notation, providing options for listing either metric or imperial units first, for linking the unit abbreviations and for listing (and optionally linking to) the most common name for the specific gauge where applicable.
Usage
editThis template is designed for ease of use. The syntax is as follows:
{{RailGauge | gauge spec (below) [ | al=on ] [ | lk=on ] }}
The only required parameter is the gauge specification; the applicable values are listed below. Both the al and lk parameters are optional.
For example, to display the notation for the standard gauge measurement with the alternate name and both the alternate name and measurement labels linked to the applicable articles:
{{RailGauge|sg|al=on|lk=on}}
produces:
1,435 mm (4 ft 8+1⁄2 in) standard gauge
Parameters
editGauge specification values:
Metric units first | Imperial units first | |||
---|---|---|---|---|
Value | Produces | Value | Produces | |
89 89mm |
89 | 3.5 3.5in 3.5" |
3.5 | |
127 127mm |
127 | 5in 5" |
5 in (127 mm) | |
184 184mm |
184 | 7.25 7.25in 7.25" |
7.25 | |
190.5 190.5mm |
190.5 | 7.5 7.5in 7.5" |
7.5 | |
260 260mm 0.26 0.26m |
260 | 10.25 10.25in 10.25" |
10.25 | |
311 311mm |
311 | 12.25 12.25in 12.25" |
12.25 | |
381 381mm |
381 | 15 15in 15" 1ft3in 1'3" |
15 | |
400 400mm 0.4 0.4m |
400 | 15.75 15.75in 15.75" 1ft3.75in 1'3.75" |
15.75 | |
457 457mm |
457 | 18 18in 18" 1ft6in 1'6" 1.5ft |
18 | |
500 500mm 0.5 0.5m |
500 | 19.75 19.75in 19.75" 1ft7.75in 1'7.75" |
19.75 | |
508 508mm |
508 | 20 20in 20" 1ft8in 1'8" |
20 | |
559 559mm |
559 | 22 22in 22" 1ft10in 1'10" |
22 | |
578 578mm |
578 | 22.75 22.75in 22.75" 1ft10.75in 1'10.75" |
22.75 | |
597 597mm |
597 | 23.5 23.5in 23.5" 1ft11.5in 1'11.5" |
23.5 | |
600 600mm 0.6 0.6m |
600 | |||
603 603mm |
603 | 23.75 23.75in 23.75" 1ft11.75in 1'11.75" |
23.75 | |
610 610mm 0.61 0.61m |
610 | 24 24in 24" 2 2ft 2' |
24 | |
660 660mm 0.66 0.66m |
660 | 26 26in 26" 2ft2in 2'2" |
26 | |
686 686mm |
686 | 27 27in 27" 2ft3in 2'3" |
27 | |
700 700mm 0.7 0.7m |
700 | 27.5 27.5in 27.5" 2ft3.5in 2'3.5" |
27.5 | |
711 711mm |
711 | 28 28in 28" 2ft4in 2'4" |
28 | |
750 750mm 0.75 0.75m |
750 | 29.5 29.5in 29.5" 2ft5.5in 2'5.5" |
29.5 | |
760 760mm 0.76 0.76m |
760 | 29.875 29.875in 29.875" 2ft5.875in 2'5.875" |
29.875 | |
762 762mm |
762 | 30 30in 30" 2ft6in 2'6" |
30 | |
785 785mm |
785 | 30.9 30.9in 30.9" 2ft6.9in 2'6.9" |
30.9 | |
800 800mm 0.8 0.8m |
800 | 31.5 31.5in 31.5" 2ft7.5in 2'7.5" |
31.5 | |
813 813mm |
813 | 32 32in 32" 2ft8in 2'8" |
32 | |
825 825mm |
825 | 32.5 32.5in 32.5" 2ft8.5in 2'8.5" |
32.5 | |
891 891mm |
891 | 35.1 35.1in 35.1" 2ft11.1in 2'11.1" |
35.1 | |
900 900mm 0.9 0.9m |
900 | 35.5 35.5in 35.5" 2ft11.5in 2'11.5" |
35.5 | |
914 914mm |
914 | 36 36in 36" 3 3ft 3' |
36 | |
950 950mm 0.95 0.95m |
950 | 37.375 37.375in 37.375" 3ft1.375in 3'1.375" |
37.375 | |
1000 1000mm metre meter m 1 1m |
1 | 39.375 39.375in 39.375" 3ft3.375in 3'3.375" |
3ft3.375in | |
1050 1050mm |
1050 | 41.33 41.33in 41.33" 3ft5.33in 3'5.33" |
3ft5.33in | |
1055 1055mm |
1055 | 41.5 41.5in 41.5" 3ft5.5in 3'5.5" |
3 ft 5+1⁄2 in (1,055 mm) | |
1067 1067mm |
1067 | cape 42 42in 3ft6in 3.5ft |
42 | |
1100 1100mm 1.1 1.1m |
1100 | 43.31 43.31in 3ft7.31in |
43.31 | |
1106 1106mm |
1106 | 43.5 43.5in 3ft7.5in |
43.5 | |
1219 1219mm |
1219 | 48 48in 48" 4 4ft 4' |
48 | |
1295 1295mm |
1295 | 51 51in 51" 4ft3in 4'3" |
51 | |
1372 1372mm |
1372 | 54 54in 54" 4ft6in 4'6" |
54 | |
1416 1416mm |
1416 | 55.75 55.75in 55.75" 4ft7.75in 4'7.75" |
55.75 | |
1422 1422mm |
1422 | 56 56in 56" 4ft8in 4'8" |
56 | |
1432 1432mm |
1432 | 56.375 56.375in 4ft8.375in |
56.375 | |
sg standard 1435 1435mm |
1,435 mm (4 ft 8+1⁄2 in) | ussg usstandard nasg nastandard 56.5 56.5in 4ft8.5in |
4 ft 8+1⁄2 in (1,435 mm) | |
1448 1448mm |
1448 | 57 57in 57" 4ft9in 4'9" |
57 | |
1473 1473mm 1.473 1.473m |
1473 | ohio oh 58 58" 58in 4ft10in 4'10" |
oh | |
1495 1495mm |
1495 | 58.875 58.875" 58.875in 4ft10.875in 4'10.875" |
58.875 | |
1500 1500mm 1.5 1.5m |
1500 | |||
1520 1520mm 1.52 1.52m |
1520 | |||
1524 1524mm |
1524 | 60 60in 60" 5 5ft 5' |
60 | |
1575 1575mm |
1575 | 62 62in 62" 5ft2in 5'2" |
62 | |
1581 1581mm |
1581 | 62.25 62.25in 62.25" 5ft2.25in 5'2.25" |
62.25 | |
1588 1588mm |
1588 | 62.5 62.5in 62.5" 5ft2.5in 5'2.5" |
62.5 | |
1600 1600mm 1.6 1.6m vic |
1600 | 63 63in 63" 5ft3in 5'3" |
63 | |
1676 1676mm 1.676 1.676m |
1676 | 66 66in 66" 5ft6in 5'6" 5.5ft prov |
66 | |
1.75 1.75m 1750 1750mm |
1.75 | |||
1829 1829mm |
1829 | 72 72in 72" 6 6ft 6' |
72 | |
1880 1880mm 1.88 1.88m |
1880 | 74 74in 74" 6ft2in 6'2" |
74 | |
1945 1945mm 1.945 1.945m |
1945 | |||
2000 2000mm 2m |
2,000 mm (6 ft 6+3⁄4 in) | 78.75 78.75in 78.75" 6ft6.75in 6'6.75" |
78.75 | |
2140 2140mm 2.14 2.14m |
2140 | 84 84in 84" 7ft 7' 84.25 84.25in 84.25" 7ft0.25in 7'0.25" |
84 |
Optional parameters:
Parameter | What it does | Example (code and output) |
---|---|---|
al=on | Adds the alternate name after the gauge measurement values | {{RailGauge|sg|al=on}} 1,435 mm (4 ft 8+1⁄2 in) standard gauge |
lk=on | Adds wikilinks to the measurement unit label (and the alternate name where applicable) |
{{RailGauge|sg|lk=on}} 1,435 mm (4 ft 8+1⁄2 in) |