Template:Infobox locomotive

(Redirected from Template:Infobox Locomotive)
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

EMD GP30
WC 715 at the National Railroad Museum in Green Bay, WI
Power type Diesel
Builder General Motors Electro-Motive Division (EMD)
Model GP30
Build date July 1961 – November 1963
Total production 948
AAR wheel arr. B-B
Gauge Lua error in package.lua at line 80: module 'Module:Track gauge/data' not found.
Length 56 ft 2 in (17.12 m)
Locomotive weight 253,000 lb (115,000 kg)
Prime mover EMD 567D3
Engine type Two-stroke diesel
Aspiration Mechanically-assisted turbocharger
Displacement 9,072 in³ (148.7 L)
Cylinders V16
Cylinder size 8.5 in × 10 in (215.5 mm × 254 mm)
Transmission DC generator, DC traction motors
Top speed 78 mph (126 km/h)
Power output 2,250 hp (1,680 kW)
Tractive effort 63,375 lbf (282 kN)
Locomotive brakes Straight air, Dynamic
Train brakes 26-L air
Locale North America
John Bull
The John Bull, c. 1893.
Power type Steam
Builder Robert Stephenson and Company
Build date 1831
Configuration 4-2-0 (although built by Stephenson as an 0-4-0)
UIC classification 1'1A (built as B)
Gauge Lua error in package.lua at line 80: module 'Module:Track gauge/data' not found.
Driver diameter 4 ft 6 in (1.37 m) diameter
Wheelbase 4 ft 11 in (1.4 m) between driving axles
Frame size 14 ft 9 in (4.5 m) length x 6 ft 3 in (1.9 m) width
Boiler 2 ft 6 in (0.76 m) diameter x 6 ft 9 in (2.06 m) length
Cylinder size 9 in (22.86 cm) diameter x 20 in (50.8 cm) stroke
Career Camden and Amboy Railroad,
Pennsylvania Railroad (initial preservation)
Number 1
Official name Stevens (after C&A president Robert L. Stevens)
Delivered September 4, 1831
First run September 15, 1831
Retired 1866
Restored September 15, 1981
Current owner Smithsonian Institution
Disposition Static display in Washington, D.C.

This template has a large number of parameters, but only two are required:

  • name - The name that will appear above the top line of the infobox
  • powertype - The type of power that the locomotive employs (e.g. "steam", "diesel", "electric", etc.)

The remaining parameters are as follows (in the order that they will appear in the template output):

  • image - The filename for the infobox image
  • imagesize - The size of the image in pixels (as in imagesize=200), default value is 300; to use the image's actual size, specify imagesize as a blank value (as in imagesize=|).
  • caption - The image caption that will be displayed
  • hatnote - A label-less centered text field for notices. Appears below powertype.
  • designer - The name of the locomotive's designer
  • builder - The locomotive builder
  • ordernumber - The locomotive's order number
  • serialnumber - The locomotive's serial number
  • buildmodel - The builder's model number
  • builddate - The date(s) that the locomotive (or locomotive model) was built
  • totalproduction - The total number of locomotives of the given class that were built
  • rebuilder - The locomotive rebuilder
  • rebuilddate - The date(s) that the locomotive (or locomotive model) was rebuilt
  • numberrebuilt - The total number of locomotives of the given class that were rebuilt
  • whytetype - The wheel arrangement in Whyte notation
  • aarwheels - The AAR wheel arrangement
  • uicclass - The UIC classification
  • gauge - The rail gauges on which the locomotive operated
  • trucks - The type of trucks
  • bogies - The type of bogies
  • leadingdiameter - The size of the locomotive's leading wheels
  • driverdiameter - The size of the locomotive's driving wheels
  • wheeldiameter - The diameter of the locomotive's wheels
  • trailingdiameter - The size of the locomotive's trailing wheels
  • minimumcurve - The minimum radius curve that the locomotive will negotiate. North American practise would use degrees of curvature
  • wheelbase - The locomotive's wheelbase
  • length - The locomotive's total length
  • width - The locomotive's total width
  • height - The locomotive's total height
  • framesize - The size of the locomotive frame
  • axleload - max. axle load
  • weightondrivers - The weight on the driven wheels only
  • locoweight - The weight of the locomotive (excluding tender)
  • tenderweight - The weight of the locomotive's tender
  • locotenderweight - The combined weight of the locomotive and tender
  • tendertype - The type of tender; typically the number of axles, the designer, or (where issued), the class of tender
  • fueltype - The type of fuel that the locomotive consumes
  • fuelcap - The locomotive's full fuel capacity
  • lubecap - Lubrication oil capacity
  • coolantcap - Engine coolant capacity
  • watercap - The tender's full water capacity
  • tendercap - The tender's full fuel and water capacity
  • sandcap - The locomotive's full sandbox capacity
  • consumption - The locomotive's average fuel consumption rate
  • watercons - The locomotive's average water consumption rate
  • electricsystem - The electric system(s) under which the locomotive operates
  • collectionmethod - The locomotive's (electrical) current collection method (i.e. pantograph, third rail, etc.)
  • primemover - The locomotive's prime mover model
  • rpmrange - The revolutions per minute (rpm) range of the prime mover
  • enginetype - The specific engine type
  • aspiration - The method that the engine uses to mix fuel and air
  • displacement - The engine displacement
  • alternator - The locomotive's alternator type/model
  • generator - The locomotive's generator type/model
  • tractionmotors - The type/model of traction motors
  • boiler - The locomotive's boiler size
  • boilerpressure - The total boiler pressure rating
  • feedwaterheater - Type of feedwater heater installed
  • firearea - The area of the locomotive's fire grate
  • tubearea - Heating surface - tubes
  • fluearea - Heating surface - flues
  • tubesandflues - Heating surface - tubes and flues (if not broken out in published specs)
  • fireboxarea - Heating surface - firebox
  • totalsurface - Heating surface - total
  • superheatertype - Superheater type
  • superheaterarea - Superheater area
  • cylindercount - The number of cylinders
  • cylindersize - The size of the engine's cylinders
  • frontcylindersize - Size of the front cylinders in an articulated locomotive, if they differ
  • rearcylindersize - Size of the rear cylinders
  • hpcylindersize - Size of the high-pressure cylinders in a compound (explain arrangement in cylindercount)
  • lpcylindersize - Size of the low-pressure cylinders in a compound
  • valvegear - Type of valve gear used on a steam locomotive
  • valvetype - The type of valves used – slide, piston, poppet, etc.
  • valvetravel - The length of the valve travel
  • valvelap - The lap of the valve gear
  • valvelead - The lead of the valve gear
  • transmission - The type of transmission used
  • multipleworking - The type of multiple working, if fitted
  • topspeed - The locomotive's top speed
  • poweroutput - The locomotive's total power output
  • tractiveeffort - The locomotive's total tractive effort
  • factorofadhesion - Factor of adhesion (weight on drivers divided by tractive effort)
  • trainheating - Train heating system used (usually Steam generator (railroad), Head end power, or none).
  • locobrakes - The type of locomotive brakes installed
  • locobrakeforce - The braking force supplied by locobrakes
  • trainbrakes - The type of train brake system installed
  • safety - The safety systems installed (auto train stop, cab signalling, etc.)
  • railroad - The railroad(s) where the locomotive operated (for articles about individual locomotives and not generic locomotive models); creates a colored heading line like the powertype parameter
  • railroadclass - The class designation assigned by the operating railroad
  • powerclass - The power class or group of the locomotive
  • numinclass - The number of locomotives in the same railroad class
  • roadnumber - The operating number(s) assigned by the railroad
  • officialname - The official name(s) assigned by the railroad, and who or what the locomotive is named after
  • nicknames - Nicknames given to the locomotive
  • axleloadclass - The axle load class or group (e.g. Great Western Railway colour code, LNER/British Railways Route Availability “R.A.” )
  • locale - The locale where the locomotive was operated
  • deliverydate - The date that the locomotive was delivered
  • firstrundate - The date of the locomotive's first run
  • lastrundate - The date of the locomotive's last regular operation
  • retiredate - The date the locomotive was retired from regular service
    • withdrawndate - Commonwealth English equivalent of retiredate above
  • restoredate - The date the locomotive was restored to operating condition
  • scrapdate - The date the locomotive was scrapped
  • currentowner - The locomotive's current owner
  • disposition - The locomotive's current disposition

The two infoboxes shown to the right are examples of using this template for a generic locomotive model (the EMD GP30 example) and for a specific locomotive (the John Bull example).

Sample lists

Sample lists of options
Steam Diesel Electric
{{Infobox Locomotive
|name             = 
|powertype        = Steam
|image            =
|caption          =
|designer         =
|builder          =
|ordernumber      =
|serialnumber     =
|buildmodel       =
|builddate        =
|totalproduction  =
|rebuilder        =
|rebuilddate      =
|numberrebuilt    =
|whytetype        =
|uicclass         =
|gauge   = {{RailGauge| }}
|leadingdiameter  =
|driverdiameter   =
|trailingdiameter =
|minimumcurve     =
|wheelbase        =
|length           =
|width            =
|height           =
|axleload         =
|weightondrivers  =
|locoweight       =
|tenderweight     =
|locotenderweight =
|tendertype       =
|fueltype         =
|fuelcap          =
|watercap         =
|tendercap        =
|sandcap          =
|boiler           =
|boilerpressure   =
|feedwaterheater  =
|firearea         =
|tubearea         =
|fluearea         =
|tubesandflues    =
|fireboxarea      =
|totalsurface     =
|superheatertype  =
|superheaterarea  =
|cylindercount    =
|cylindersize     =
|frontcylindersize=
|rearcylindersize =
|hpcylindersize   =
|lpcylindersize   =
|valvegear        =
|valvetype        =
|valvetravel      =
|valvelap         =
|valvelead        =
|transmission     =
|topspeed         =
|poweroutput      =
|tractiveeffort   =
|factorofadhesion =
|trainheating     =
|locobrakes       =
|locobrakeforce   =
|trainbrakes      =
|safety           =
|railroad         =
|railroadclass    =
|powerclass       =
|numinclass       =
|roadnumber       =
|officialname     =
|nicknames        =
|axleloadclass    =
|locale           =
|deliverydate     =
|firstrundate     =
|lastrundate      =
|retiredate       =
|withdrawndate    =
|preservedunits   =
|restoredate      =
|scrapdate        =
|currentowner     =
|disposition      =
}}
{{Infobox Locomotive
|name             = 
|powertype        = Diesel
|image            =
|caption          =
|builder          =
|ordernumber      =
|serialnumber     =
|buildmodel       =
|builddate        =
|totalproduction  =
|rebuilder        =
|rebuilddate      =
|numberrebuilt    =
|aarwheels        =
|uicclass         =
|gauge   = {{RailGauge| }}
|trucks           =
|bogies           =
|wheeldiameter    =
|trailingdiameter =
|minimumcurve     =
|wheelbase        =
|length           =
|width            =
|height           =
|axleload         =
|weightondrivers  =
|locoweight       =
|fueltype         =
|fuelcap          =
|lubecap          =
|coolantcap       =
|watercap         =
|sandcap          =
|consumption      =
|watercons        =
|primemover       =
|rpmrange         =
|enginetype       =
|aspiration       =
|displacement     =
|alternator       =
|generator        =
|tractionmotors   =
|cylindercount    =
|cylindersize     =
|transmission     =
|multipleworking  =
|topspeed         =
|poweroutput      =
|tractiveeffort   =
|factorofadhesion =
|trainheating     =
|locobrakes       =
|locobrakeforce   =
|trainbrakes      =
|safety           =
|railroad         =
|railroadclass    =
|powerclass       =
|numinclass       =
|roadnumber       =
|officialname     =
|nicknames        =
|axleloadclass    =
|locale           =
|deliverydate     =
|firstrundate     =
|lastrundate      =
|retiredate       =
|withdrawndate    =
|preservedunits   =
|restoredate      =
|scrapdate        =
|currentowner     =
|disposition      =
}}
{{Infobox Locomotive
|name             = 
|powertype        = Electric
|image            =
|caption          =
|builder          =
|ordernumber      =
|serialnumber     =
|buildmodel       =
|builddate        =
|totalproduction  =
|rebuilder        =
|rebuilddate      =
|numberrebuilt    =
|aarwheels        =
|uicclass         =
|gauge      = {{RailGauge| }}
|trucks           =
|bogies           =
|wheeldiameter    =
|trailingdiameter =
|minimumcurve     =
|wheelbase        =
|length           =
|width            =
|height           =
|framesize        =
|axleload         =
|weightondrivers  =
|locoweight       =
|sandcap          =
|electricsystem   =
|collectionmethod =
|alternator       =
|generator        =
|tractionmotors   =
|transmission     =
|multipleworking  =
|topspeed         =
|poweroutput      =
|tractiveeffort   =
|factorofadhesion =
|trainheating     =
|locobrakes       =
|locobrakeforce   =
|trainbrakes      =
|safety           =
|railroad         =
|railroadclass    =
|powerclass       =
|numinclass       =
|roadnumber       =
|officialname     =
|nicknames        =
|axleloadclass    =
|locale           =
|deliverydate     =
|firstrundate     =
|lastrundate      =
|retiredate       =
|withdrawndate    =
|preservedunits   =
|restoredate      =
|scrapdate        =
|currentowner     =
|disposition      =
}}
Complete list
{{Infobox Locomotive
|name             = 
|powertype        = 
|image            =
|imagesize        = 300
|caption          =
|hatnote          =
|designer         =
|builder          =
|ordernumber      =
|serialnumber     =
|buildmodel       =
|builddate        =
|totalproduction  =
|rebuilder        =
|rebuilddate      =
|numberrebuilt    =
|whytetype        =
|aarwheels        =
|uicclass         =
|gauge            = {{RailGauge| }}
|trucks           =
|bogies           =
|leadingdiameter  =
|driverdiameter   =
|wheeldiameter    =
|trailingdiameter =
|minimumcurve     =
|wheelbase        =
|length           =
|width            =
|height           =
|framesize        =
|axleload         =
|weightondrivers  =
|locoweight       =
|tenderweight     =
|locotenderweight =
|tendertype       =
|fueltype         =
|fuelcap          =
|lubecap          =
|coolantcap       =
|watercap         =
|tendercap        =
|sandcap          =
|consumption      =
|watercons        =
|electricsystem   =
|collectionmethod =
|primemover       =
|rpmrange         =
|enginetype       =
|aspiration       =
|displacement     =
|alternator       =
|generator        =
|tractionmotors   =
|boiler           =
|boilerpressure   =
|feedwaterheater  =
|firearea         =
|tubearea         =
|fluearea         =
|tubesandflues    =
|fireboxarea      =
|totalsurface     =
|superheatertype  =
|superheaterarea  =
|cylindercount    =
|cylindersize     =
|frontcylindersize=
|rearcylindersize =
|hpcylindersize   =
|lpcylindersize   =
|valvegear        =
|valvetype        =
|valvetravel      =
|valvelap         =
|valvelead        =
|transmission     =
|multipleworking  =
|topspeed         =
|poweroutput      =
|tractiveeffort   =
|factorofadhesion =
|trainheating     =
|locobrakes       =
|locobrakeforce   =
|trainbrakes      =
|safety           =

|railroad         =
|railroadclass    =
|powerclass       =
|numinclass       =
|roadnumber       =
|officialname     =
|nicknames        =
|axleloadclass    =
|locale           =
|deliverydate     =
|firstrundate     =
|lastrundate      =
|retiredate       =
|withdrawndate    =
|preservedunits   =
|restoredate      =
|scrapdate        =
|currentowner     =
|disposition      =

Maintenance

Deprecated parameters
Sorted under "1"

Pages using old parameters of this template will sort to Category:Articles with infobox errors. These deprecated parameters are:

  • leadingsize - use |leadingdiameter=
  • driversize - use |driverdiameter=
  • trailingsize - use |trailingdiameter=
  • weight - ambiguous; use one or more of |locoweight=, |tenderweight=, |locotenderweight=

The correct information for the fields should be available on enwp on the articles for the locomotives in question.

Unnamed parameters
Sorted under "2"

The template takes no positional parameters ({{{1}}}, {{{2}}}, etc), so determine if this is a parameter name lacking both equals sign and value, or a parameter value; and then either add the missing half of the parameter, or remove it entirely.

Invalid values
Sorted under "3"

In addition, this category is triggered for certain invalid values being passed in valid parameters.

  • image when the relevant image file does not exist
Required fields empty
Sorted under "4"

The complete absence of the name parameter also triggers this category.