Template:RailGauge
This is a candidate to have a transwiki guide. Due to the complexity of the project or template, this guide will help editors adapt it to a remote wiki when this cannot be done by simply copying the codes of one single template. If you know this template syntax very well, feel free to start the guide in Template:RailGauge/Transwiki guide. Once the transwiki guide page is complete, replace this tag by {{Transwiki guide}}. |
Purpose
[edit source]This 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
[edit source]This template is designed for ease of use. The syntax is as follows:
{{RailGauge | gauge spec (below) [ | al=on ] [ | lk=on ] [ | allk=on ][ | disp=s ] [ | wrap=y ]}}
The only required parameter is the gauge specification; the applicable values are listed below. The al
, lk
and disp
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
[edit source]Gauge specification values:
Metric units first | Imperial units first | |||
---|---|---|---|---|
Value | Produces | Value | Produces | |
3mm | 3 mm (0.118 in) | |||
4mm | 4 mm (0.157 in) | |||
4.5mm | 4.5 mm (0.177 in) | 0.177 0.177in 0.177" |
0.177 in (4.5 mm) | |
4.8mm | 4.8 mm (0.189 in) | |||
0.250 0.250in 0.250" |
0.250 in (6.35 mm) | |||
6.5mm | 6.5 mm (0.256 in) | 0.256 0.256in 0.256" |
0.256 in (6.5 mm) | |
0.257 0.257in 0.257" |
0.257 in (6.53 mm) | |||
0.276 0.276in 0.276" |
0.276 in (7 mm) | |||
8mm | 8 mm (0.315 in) | |||
8.97mm | 8.97 mm (0.353 in) | 0.353 0.353in 0.353" |
0.353 in (8.97 mm) | |
9mm | 9 mm (0.354 in) | |||
9.42mm | 9.42 mm (0.371 in) | |||
10.5mm | 10.5 mm (0.413 in) | 0.413 0.413in 0.413" |
0.413 in (10.5 mm) | |
0.470 0.470in 0.470" |
0.470 in (11.94 mm) | |||
12mm | 12 mm (0.472 in) | 0.472 0.472in 0.472" |
0.472 in (12 mm) | |
12.7mm | 12.7 mm (0.5 in) | 0.5in 0.5" |
0.5 in (12.7 mm) | |
13mm | 13 mm (0.512 in) | |||
13.5mm | 13.5 mm (0.531 in) | |||
14mm | 14 mm (0.551 in) | |||
14.125mm | 14.125 mm (0.556 in) | |||
14.2mm | 14.2 mm (0.559 in) | |||
14.28mm | 14.28 mm (0.562 in) | |||
14.3mm | 14.3 mm (0.563 in) | 0.563 0.563in 0.563" |
0.563 in (14.3 mm) | |
15.76mm | 15.76 mm (0.620 in) | |||
16.2mm | 16.2 mm (0.638 in) | |||
0.649 0.649in 0.649" |
0.649 in (16.48 mm) | |||
16.5mm | 16.5 mm (0.650 in) | 0.650 0.650in 0.650" |
0.650 in (16.5 mm) | |
18mm | 18 mm (0.709 in) | |||
18.2mm | 18.2 mm (0.717 in) | |||
18.83mm | 18.83 mm (0.741 in) | |||
19mm | 19 mm (0.748 in) | |||
19.05mm | 19.05 mm (0.75 in) | 0.750in 0.750" |
0.750 in (19.05 mm) | |
20.5mm | 20.5 mm (0.807 in) | |||
21mm | 21 mm (0.827 in) | |||
0.865 0.865in 0.865" |
0.865 in (21.97 mm) | |||
22mm | 22 mm (0.866 in) | |||
22.42mm | 22.42 mm (0.883 in) | 0.883 0.883in 0.883" |
0.883 in (22.42 mm) | |
22.5mm | 22.5 mm (0.886 in) | |||
23mm | 23 mm (0.906 in) | |||
24mm | 24 mm (0.945 in) | |||
1.125 1.125in 1.125" |
1.125 in (28.6 mm) | |||
1.177 1.177in 1.177" |
1.177 in (29.9 mm) | |||
30mm | 30 mm (1.181 in) | |||
1.25 1.25in 1.25" |
1.25 in (31.75 mm) | |||
32mm | 32 mm (1.260 in) | |||
32.96mm | 32.96 mm (1.298 in) | |||
33mm | 33 mm (1.299 in) | |||
35mm | 35 mm (1.378 in) | |||
1.75in 1.75" |
1.75 in (44.45 mm) | |||
1.766 1.766in 1.766" |
1.766 in (44.85 mm) | |||
45mm | 45 mm (1.772 in) | 1.772 1.772in 1.772" |
1.772 in (45 mm) | |
50.8 50.8mm |
50.8 mm (2 in) | 2 2in 2" |
2 in (50.8 mm) | |
2.125in 2.125" |
2 1⁄8 in (53.975 mm) | |||
63mm | 63 mm (2.48 in) | |||
63.5 63.5mm |
63.5 mm (2 1⁄2 in) | 2.5 2.5in 2.5" |
2 1⁄2 in (63.5 mm) | |
64 64mm |
64 mm (2.52 in) | |||
2.781 2.781in 2.781" |
2.781 in (70.64 mm) | |||
89 89mm |
89 mm (3 1⁄2 in) | 3.5 3.5in 3.5" |
3 1⁄2 in (89 mm) | |
108 108mm |
108 mm (4 1⁄4 in) | |||
4.75 4.75in 4.75" |
4 3⁄4 in (121 mm) | |||
127 127mm |
127 mm (5 in) | 5in 5" |
5 in (127 mm) | |
184 184mm |
184 mm (7 1⁄4 in) | 7.25 7.25in 7.25" |
7 1⁄4 in (184 mm) | |
190.5 190.5mm |
190.5 mm (7 1⁄2 in) | 7.5 7.5in 7.5" |
7 1⁄2 in (190.5 mm) | |
8.25 8.25in 8.25" |
8 1⁄4 in (210 mm) | |||
9 9in 9" |
9 in (229 mm) | |||
9.5 9.5in 9.5" |
9 1⁄2 in (241 mm) | |||
254 254mm |
254 mm (10 in) | 10 10in 10" |
10 in (254 mm) | |
260 260mm 0.26 0.26m |
260 mm (10 1⁄4 in) | 10.25 10.25in 10.25" |
10 1⁄4 in (260 mm) | |
10.5 10.5in 10.5" |
10 1⁄2 in (267 mm) | |||
305 305mm |
305 mm (12 in) | 12 12in 12" |
12 in (305 mm) | |
311 311mm |
311 mm (12 1⁄4 in) | 12.25 12.25in 12.25" |
12 1⁄4 in (311 mm) | |
356 356mm |
356 mm (14 in) | |||
381 381mm |
381 mm (15 in) | 15 15in 15" 1ft3in 1'3" |
15 in (381 mm) | |
400 400mm 0.4 0.4m |
400 mm (15 3⁄4 in) | |||
16 16in 16" 1ft4in 1'4" 1.4ft |
16 in (406 mm) | |||
16.5 16.5in 16.5" 1ft4.5in 1'4.5" 1.4.5ft |
16 1⁄2 in (419 mm) | |||
17 17in 17" 1ft5in 1'5" 1.5ft |
17 in (432 mm) | |||
450 450mm |
450 mm (17.72 in) | |||
457 457mm |
457 mm (18 in) | 18 18in 18" 1ft6in 1'6" 1.6ft |
18 in (457 mm) | |
483 483mm |
483 mm (19 in) | 19 19in 19" 1ft7in 1'7" |
19 in (483 mm) | |
19.5 19.5in 19.5" 1ft7.5in 1'7.5" |
19 1⁄2 in (495 mm) | |||
500 500mm 0.5 0.5m |
500 mm (19 3⁄4 in) | |||
508 508mm |
508 mm (20 in) | 20 20in 20" 1ft8in 1'8" |
20 in (508 mm) | |
558 558mm |
558 mm (1 ft 9 31⁄32 in) | |||
22 22in 22" 1ft10in 1'10" |
1 ft 10 in (559 mm) | |||
578 578mm |
578 mm (1 ft 10 3⁄4 in) | 22.75 22.75in 22.75" 1ft10.75in 1'10.75" |
1 ft 10 3⁄4 in (578 mm) | |
597 597mm |
597 mm (1 ft 11 1⁄2 in) | 23.5 23.5in 23.5" 1ft11.5in 1'11.5" |
1 ft 11 1⁄2 in (597 mm) | |
600 600mm 0.6 0.6m |
600 mm (1 ft 11 5⁄8 in) | |||
603 603mm |
603 mm (1 ft 11 3⁄4 in) | 23.75 23.75in 23.75" 1ft11.75in 1'11.75" |
1 ft 11 3⁄4 in (603 mm) | |
610 610mm 0.61 0.61m |
610 mm (2 ft) | 24 24in 24" 2ft 2' |
2 ft (610 mm) | |
24.125 24.125in 24.125" 2ft0.125in 2'0.125" |
2 ft 0 1⁄8 in (613 mm) | |||
622 622mm |
622 mm (2 ft 0 1⁄2 in) | 24.5 24.5in 24.5" 2ft0.5in 2'0.5" |
2 ft 0 1⁄2 in (622 mm) | |
26 26in 26" 2ft2in 2'2" |
2 ft 2 in (660 mm) | |||
686 686mm |
686 mm (2 ft 3 in) | 27 27in 27" 2ft3in 2'3" |
2 ft 3 in (686 mm) | |
27.5 27.5in 27.5" 2ft3.5in 2'3.5" |
2 ft 3 1⁄2 in (699 mm) | |||
700 700mm 0.7 0.7m |
700 mm (2 ft 3 9⁄16 in) | |||
27.75 27.75in 27.75" 2ft3.75in 2'3.75" |
2 ft 3 3⁄4 in (705 mm) | |||
711 711mm |
711 mm (2 ft 4 in) | 28 28in 28" 2ft4in 2'4" |
2 ft 4 in (711 mm) | |
28.5 28.5in 28.5" 2ft4.5in 2'4.5" |
2 ft 4 1⁄2 in (724 mm) | |||
29 29in 29" 2ft5in 2'5" |
2 ft 5 in (737 mm) | |||
750 750mm 0.75 0.75m |
750 mm (2 ft 5 1⁄2 in) | 29.5 29.5in 29.5" 2ft5.5in 2'5.5" |
2 ft 5 1⁄2 in (750 mm) | |
760 760mm 0.76 0.76m |
760 mm (2 ft 5 7⁄8 in) | |||
762 762mm |
762 mm (2 ft 6 in) | 30 30in 30" 2ft6in 2'6" |
2 ft 6 in (762 mm) | |
765 765mm |
765 mm (2 ft 6.1 in) | |||
30.5 30.5in 30.5" 2ft6.5in 2'6.5" |
2 ft 6 1⁄2 in (775 mm) | |||
783 783mm |
783 mm (2 ft 6.83 in) | |||
785 785mm |
785 mm (2 ft 6 9⁄10 in) | |||
800 800mm 0.8 0.8m |
800 mm (2 ft 7 1⁄2 in) | 31.5 31.5in 31.5" 2ft7.5in 2'7.5" |
2 ft 7 1⁄2 in (800 mm) | |
802 802mm |
802 mm (2 ft 7 3⁄5 in) | |||
32 32in 32" 2ft8in 2'8" |
2 ft 8 in (813 mm) | |||
32.5 32.5in 32.5" 2ft8.5in 2'8.5" |
2 ft 8 1⁄2 in (825 mm) | |||
838 838mm 0.838 0.838m |
838 mm (2 ft 9 in) | 33 33in 33" 2ft9in 2'9" |
2 ft 9 in (838 mm) | |
33.75 33.75in 33" 2ft9.75in 2'9.75" |
2 ft 9 3⁄4 in (857 mm) | |||
34 34in 34" 2ft10in 2'10" |
2 ft 10 in (860 mm) | |||
34.5 34.5in 34.5" 2ft10.5in 2'10.5" |
2 ft 10 1⁄2 in (876 mm) | |||
35 35in 35" 2ft11in 2'11" |
2 ft 11 in (889 mm) | |||
891 891mm |
891 mm (2 ft 11 1⁄10 in) | |||
900 900mm 0.9 0.9m |
900 mm (2 ft 11 1⁄2 in) | |||
914 914mm |
914 mm (3 ft) | 36 36in 36" 3 3ft 3' |
3 ft (914 mm) | |
37 37in 37" 3ft1in 3'1" |
3 ft 1 in (940 mm) | |||
37.125 37.125in 37.125" |
3 ft 1 1⁄8 in (943 mm) | |||
950 950mm 0.95 0.95m |
950 mm (3 ft 1 3⁄8 in) | |||
38.25 38.25in 38.25" 3ft2.25in 3'2.25" |
3 ft 2 1⁄4 in (972 mm) | |||
1000 1000mm metre meter m 1 1m |
1,000 mm (3 ft 3 3⁄8 in) | 39.375 39.375in 39.375" 3ft3.375in 3'3.375" |
3 ft 3 3⁄8 in (1,000 mm) | |
1009 1009mm |
1,009 mm (3 ft 3 11⁄32 in) | |||
1016 1016mm |
1,016 mm (3 ft 4 in) | 40 40in 40" 3ft4in 3'4" |
3 ft 4 in (1,016 mm) | |
40.5 40.5in 40.5" 3ft4.5in 3'4.5" |
3 ft 4 1⁄2 in (1,029 mm) | |||
40.75 40.75in 40.75" 3ft4.75in 3'4.75" |
3 ft 4 3⁄4 in (1,035 mm) | |||
1050 1050mm |
1,050 mm (3 ft 5 1⁄3 in) | |||
1055 1055mm |
1,055 mm (3 ft 5 1⁄2 in) | 41.5 41.5in 41.5" 3ft5.5in 3'5.5" |
3 ft 5 1⁄2 in (1,055 mm) | |
1062 1062mm |
1,062 mm (3 ft 5.8 in) | |||
1067 1067mm |
1,067 mm (3 ft 6 in) | cape 42 42in 3ft6in 3.6ft |
3 ft 6 in (1,067 mm) | |
1093 1093mm |
1,093 mm (3 ft 7 in) | 43 43in 3ft7in 3.7ft |
3 ft 7 in (1,093 mm) | |
1100 1100mm 1.1 1.1m |
1,100 mm (3 ft 7 7⁄16 in) | |||
1106 1106mm |
1,106 mm (3 ft 7 1⁄2 in) | 43.5 43.5in 43.5" 3ft7.5in 3'7.5" |
3 ft 7 1⁄2 in (1,106 mm) | |
44.25 44.25in 44.25" 3ft8.25in 3'8.25" |
3 ft 8 1⁄4 in (1,124 mm) | |||
44.5 44.5in 44.5" 3ft8.5in 3'8.5" |
3 ft 8 1⁄2 in (1,130 mm) | |||
45 45in 45" 3ft9in 3'9" |
3 ft 9 in (1,143 mm) | |||
45.5 45.5in 45.5" 3ft9.5in 3'9.5" |
3 ft 9 1⁄2 in (1,156 mm) | |||
1188 1188mm |
1,188 mm (3 ft 10 4⁄5 in) | |||
47 47in 47" 3ft7in 3'7" |
3 ft 11 in (1,194 mm) | |||
1200 1200mm |
1,200 mm (3 ft 11 1⁄4 in) | |||
1217 1217mm |
1,217 mm (3 ft 11 9⁄10 in) | |||
1219 1219mm |
1,219 mm (4 ft) | 48 48in 48" 4 4ft 4' |
4 ft (1,219 mm) | |
1245 1245mm |
1,245 mm (4 ft 1 in) | 49 49in 49" 4ft1in 4'1' |
4 ft 1 in (1,245 mm) | |
49.5 49.5in 49.5" 4ft1.5in 4'1.5' |
4 ft 1 1⁄2 in (1,257 mm) | |||
1270 1270mm |
1,270 mm (4 ft 2 in) | 50 50in 50" 4ft2in 4'2' |
4 ft 2 in (1,270 mm) | |
1295 1295mm |
1,295 mm (4 ft 3 in) | 51 51in 51" 4ft3in 4'3" |
4 ft 3 in (1,295 mm) | |
52 52in 52" 4ft4in 4'4" |
4 ft 4 in (1,321 mm) | |||
52.5 52.5in 52.5" 4ft4.5in 4'4.5" |
4 ft 4 1⁄2 in (1,333 mm) | |||
1372 1372mm |
1,372 mm (4 ft 6 in) | 54 54in 54" 4ft6in 4'6" scot |
4 ft 6 in (1,372 mm) | |
54.5 54.5in 54.5" 4ft6.5in 4'6.5" |
4 ft 6 1⁄2 in (1,384 mm) | |||
55.5 55.5in 55.5" 4ft7.5in 4'7.5" |
4 ft 7 1⁄2 in (1,410 mm) | |||
55.75 55.75in 55.75" 4ft7.75in 4'7.75" |
4 ft 7 3⁄4 in (1,416 mm) | |||
1422 1422mm |
1,422 mm (4 ft 8 in) | 56 56in 56" 4ft8in 4'8" |
4 ft 8 in (1,422 mm) | |
1432 1432mm |
1,432 mm (4 ft 8 3⁄8 in) | |||
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) | |
1440 1440mm |
1,440 mm (4 ft 8 11⁄16 in) | |||
1445 1445mm |
1,445 mm (4 ft 8.9 in) | |||
57 57in 57" 4ft9in 4'9" |
4 ft 9 in (1,448 mm) | |||
57.5 57.5in 57.5" 4ft9.5in 4'9.5" |
4 ft 9 1⁄2 in (1,460 mm) | |||
1473 1473mm 1.473 1.473m |
1,473 mm (4 ft 10 in) | ohio oh 58 58" 58in 4ft10in 4'10" |
4 ft 10 in (1,473 mm) | |
1495 1495mm |
1,495 mm (4 ft 10 7⁄8 in) | 58.875 58.875" 58.875in 4ft10.875in 4'10.875" |
4 ft 10 7⁄8 in (1,495 mm) | |
1500 1500mm 1.5 1.5m |
1,500 mm (4 ft 11 1⁄16 in) | |||
1520 1520mm 1.52 1.52m |
1,520 mm (4 ft 11 5⁄6 in) | |||
1524 1524mm |
1,524 mm (5 ft) | 60 60in 60" 5 5ft 5' |
5 ft (1,524 mm) | |
60.5 60.5in 60.5" 5ft1/2in 5'1/2" |
5 ft 0 1⁄2 in (1,537 mm) | |||
62 62in 62" 5ft2in 5'2" |
5 ft 2 in (1,575 mm) | |||
1581 1581mm |
1,581 mm (5 ft 2 1⁄4 in) | 62.25 62.25in 62.25" 5ft2.25in 5'2.25" |
5 ft 2 1⁄4 in (1,581 mm) | |
1588 1588mm |
1,588 mm (5 ft 2 1⁄2 in) | 62.5 62.5in 62.5" 5ft2.5in 5'2.5" |
5 ft 2 1⁄2 in (1,588 mm) | |
1600 1600mm 1.6 1.6m vic |
1,600 mm (5 ft 3 in) | 63 63in 63" 5ft3in 5'3" |
5 ft 3 in (1,600 mm) | |
1664 1664mm 1.664 1.664m |
1,664 mm (5 ft 5 1⁄2 in) | |||
1668 1668mm 1.668 1.668m |
1,668 mm (5 ft 5 2⁄3 in) | |||
1672 1672mm 1.672 1.672m |
1,672 mm (5 ft 5 5⁄6 in) | |||
1676 1676mm 1.676 1.676m |
1,676 mm (5 ft 6 in) | 66 66in 66" 5ft6in 5'6" 5.5ft prov |
5 ft 6 in (1,676 mm) | |
1.75 1.75m 1750 1750mm |
1.75 m (5 ft 8 7⁄8 in) | |||
1829 1829mm |
1,829 mm (6 ft) | 72 72in 72" 6 6ft 6' |
6 ft (1,829 mm) | |
1880 1880mm 1.88 1.88m |
1,880 mm (6 ft 2 in) | 74 74in 74" 6ft2in 6'2" |
6 ft 2 in (1,880 mm) | |
1945 1945mm 1.945 1.945m |
1,945 mm (6 ft 4 23⁄40 in) | |||
2140 2140mm 2.14 2.14m |
2,140 mm (7 ft 0 1⁄4 in) | |||
3000 3000mm 3m |
3 m (9 ft 10 1⁄8 in) | |||
120 120in 120" 10ft 10' |
10 ft (3,048 mm) |
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) |
allk=on | Adds wikilinks to the alternate name where applicable | {{RailGauge|sg|lk=on}} 1,435 mm (4 ft 8 1⁄2 in) Standard gauge |
disp=s | Uses a slash as a separator rather than parentheses | {{RailGauge|sg|disp=s}} 1,435 mm/4 ft 8 1⁄2 in |
wrap=y | Will allow the output to break before the parentheses if column width is narrower than output |
{{RailGauge|sg|wrap=y}} 1,435 mm (4 ft 8 1⁄2 in) |
Templates with invalid or missing parameters are categorised in category:Pages with incorrect use of RailGauge template.
See also
[edit source]- {{convert}}