Template:Infobox train

From Constructed Worlds Wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This is an infobox for generic electric multiple units and diesel multiple units, as well as carriages.
For the infobox for generic locomotives see infobox locomotive.

name
Example.png
caption
In service service
Manufacturer manufacturer
Designer designer
Assembly assembly
Order no. ordernumber
Built at factory
Family name family
Replaced replaced
Constructed yearconstruction
Entered service yearservice
Refurbished refurbishment
Scrapped yearscrapped
Number under construction numberconstruction
Number built numberbuilt
Number in service numberservice
Number preserved numberpreserved
Number scrapped numberscrapped
Predecessor predecessor
Successor successor
Formation formation
Diagram diagram
Design code code
Fleet numbers fleetnumbers
Capacity capacity
Owner(s) owner
Operator(s) operator
Depot(s) depots
Line(s) served lines
Specifications
Car body construction carbody
Train length trainlength
Car length carlength
Width width
Height height
Floor height floorheight
Low-floor lowfloor
Platform height platformheight
Entry entrylevelorstep
Doors doors
Articulated sections art-sections
Wheel diameter wheeldiameter
Wheelbase wheelbase
Maximum speed maxspeed
Weight weight
Axle load axleload
Steep gradient gradient
Traction system traction
Prime mover(s) engine
Engine type enginetype
Cylinder count cylindercount
Cylinder size cylindersize
Displacement displacement
Traction motors traction motors
Power output poweroutput
Tractive effort tractiveeffort
Transmission transmission
Acceleration acceleration
Deceleration deceleration
Auxiliaries aux
Power supply powersupply
HVAC hvac
Electric system(s) electricsystem
Current collector(s) collectionmethod
UIC classification uicclass
AAR wheel arrangement aarwheels
Wheels driven wheels driven
Bogies bogies
Minimum turning radius minimum curve
Braking system(s) brakes
Safety system(s) safety
Coupling system coupling
Multiple working multipleworking
Headlight type light
Track gauge gauge
Seating seating
Stock type stocktype
Notes/references
notes

Usage

This template has a large number of parameters, some of which, for historical reasons have duplicates that have been deprecated. Please note that parameter names are case-sensitive.

Only one parameter is required:

  • name - The name that will appear as the title of the infobox. Please do not change the colour of the text here, do so in background below.

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

  • background - the background colour of name parameter, either as a "colour name" (e.g. forestgreen), a hexadecimal value (e.g. #0093cf), or a colour template (e.g. #{{C2C colour}}). If the background is dark, please change the text colour by appending the CSS color selector. (e.g. background = black;color:white or background = #806040;color:#ffffdd ). Note that quotation marks are not permitted in these CSS statements. If |background= is present, but blank, the default is white; but if this parameter is omitted entirely, the default background colour is #eee.
  • image - The filename for the infobox image.
  • imagealt - Alternative text for image.
  • imagesize - (or image_size) The size (width) of the images in pixels (as in imagesize=200). If |imagesize= is present, but blank the image will appear full size; but if this parameter is omitted entirely, the default size is 300 pixels wide.
  • caption - The image caption that will be displayed.
  • interiorimage - The filename for the second infobox image.
  • interiorimagealt - Alternative text for interiorimage.
  • interiorcaption - The second image caption that will be displayed.
  • service - The dates that the vehicles were in service, separated by an en dash for a range or two years (e.g. 1964–1976), or a spaced en dash if one or both sides of the range have a space in them (e.g. 12 July 1964 – 4 April 1976).
  • manufacturer – The company that manufactured the train.
  • designer - if another company designed the vehicle.
  • assembly - where it was produced (city, country).
  • ordernumber - The Order number or Lot number the vehicles were procured under.
  • factory - The factory at which the vehicles were made (if manufacturer had more than one factory).
  • family - The type or range of manufacturer’s vehicles that the vehicles comes from (e.g. British Rail Mark 3).
  • replaced - The vehicles that were replaced by these vehicles.
  • yearconstruction - (or constructed) The dates that the vehicles were under construction, separated by an en dash (e.g. 1964–1976).
  • yearservice - The date that the vehicles first entered service.
  • refurbishment - The dates that the vehicles were refurbished, separated by an en dash (e.g. 1964–1976).
  • yearscrapped - The dates that the vehicles were scrapped, separated by an en dash (e.g. 1964–1976).
  • numberconstruction - The quantity of vehicles under construction. construction also works, but is deprecated.
  • numberbuilt - The quantity of vehicles manufactured. Built also works, but is deprecated.
  • numberservice - The quantity of vehicles in service.
  • numberpreserved - The quantity of vehicles preserved.
  • numberscrapped - The quantity of vehicles scrapped.
  • predecessor
  • successor
  • formation - The formation and/or length of a diesel or electric multiple unit.
  • diagram - The classification Diagram, or Plan assigned to the vehicles.
  • code - The design or TOPS code assigned to the vehicles.
  • fleetnumbers - The fleet numbers of the vehicles.
  • capacity - The capacity of the vehicles.
  • owner - The owner(s) of the vehicles - common in countries such as UK where operators lease rolling stock from a ROSCO. If more than one, use {{unbulleted list}} to list them each on their own line.
  • operator - The operator(s) of the vehicles. If more than one, use {{unbulleted list}} to list them each on their own line.
  • depots - The maintenance depots to which the vehicles were assigned.
  • lines - The lines or routes to which the vehicles were assigned.

Parameters below fall under the Specifications heading

  • carbody - The type of carbody construction used (e.g. spotwelded stainless steel).
  • trainlength - (or TrainLength) The total length of the train or unit. Please use {{convert}}.
  • carlength - (or CarLength) The length of each vehicles (only those that differ). Please use {{convert}}.
  • width - The width of each vehicles – please use {{convert}}.
  • height - The height of each vehicles – please use {{convert}}.
  • lowfloor – The low floor proportion of trams.
  • floorheight - The height of the vehicles’ floor above the rail.
  • platformheight - Standard measurement is from top of the rail.
  • entrylevelorstep - The type of entry of the vehicles. State whether level (if platform height and floor height is the same or with a minimal difference) or step (if the platform height and floor height has a big difference and requires steps).
  • doors - The number and type of doors fitted.
  • art-sections - The number of coaches/power vehicles formed into an articulated trainset.
  • wheeldiameter - The diameter of the wheels (can be expressed new/worn).
  • wheelbase - The wheelbase of the train. State whether train, vehicle, bogie (truck), or bogie centers.
  • maxspeed - The maximum permitted speed of the vehicles – please use {{convert}}.
  • weight - The weight of the vehicles – please use {{convert}}.
  • axleload - The maximum axle load of the rail vehicle(s).
  • steep gradient - (or gradient) at per thousand or at per hundred %
  • traction - The traction system of the vehicles (if electric multiple unit).
  • engine - The prime mover(s) used in the vehicle (if diesel multiple unit or generator car).
  • enginetype - (or Enginetype) The type of engine(s)/prime mover(s).
  • cylindercount - The number of cylinders in an engine.
  • cylindersize - The diameter (bore) and length (stroke) of each cylinder.
  • displacement - The swept volume of each cylinder or each engine.
  • traction motors - The type/model of traction motors.
  • poweroutput - The power output of the engine(s) or traction motor(s) used (if fitted). Power and powerout also work, but are deprecated.
  • tractiveeffort - The tractive effort of the train's propulsion system.
  • transmission - The transmission used (e.g. electric/hydraulic/mechanical), if fitted with engine(s).
  • acceleration - The acceleration rate of the vehicles.
  • deceleration - The deceleration rate of the vehicles.
  • aux - The type of any auxiliaries fitted, if any.
  • powersupply - The type of any power supply fitted, if any.
  • hvac - The type of train heating, ventilation and air conditioning fitted, if any.
  • electricsystem - The voltage (+ frequency and/or phases if AC) of the power supply to electric multiple units, as well as the power source (e.g. overhead line, third rail).
  • collectionmethod - The current collection method used on electric multiple units (e.g. pantograph, contact shoe).
  • uicclass – The UIC classification of powered/unpowered axles
  • aarwheels - (or wheel arrangement) The AAR wheel arrangement of powered cars.
  • wheels driven – The number of wheels driven by the engine(s)/motor(s).
  • bogies - The type of bogies of trucks fitted, if known.
  • minimum curve - minimum size of a curve the vehicle can pass.
  • brakes - (or Brakes) The type of train brakes fitted (e.g. Air, Vacuum, Electro-Pneumatic).
  • safety - The type(s) of safety systems fitted.
  • coupling - The type of vehicle couplings used (e.g. knuckle, Dellner, Scharfenberg).
  • multipleworking - The type of multiple working used, if fitted.
  • light - The type of headlights a locomotive or subway car has (e.g. halogen bulb, Light Emitting Diode, etc. ).
  • gauge - The vehicles’ rail gauge – please use {{Track gauge}}.
  • notes - Notes, miscellany, sources etc.
  • box_width
  • label_width
  • seating – (or CarSeating) The seating arrangement of a train (e.g. longitudinal, transverse, etc.).
  • stocktype – (or StockType) The type of the train vehicles (e.g. Electric multiple unit, Diesel multiple unit, etc.).
Note that articles using deprecated parameters are added to Category:Unusual parameters of Infobox train template. However, each page might need a null edit to be included in the category.

Below are a full and partial list of parameters to cut-and-paste into articles.

Full (for DMU / EMU):
{{Infobox train
| background         = 
| name               = 
| image              = 
| imagealt           = 
| imagesize          = 
| caption            = 
| interiorimage      = 
| interiorimagealt   = 
| interiorcaption    = 
| service            = 
| manufacturer       = 
| designer           = 
| assembly           = 
| ordernumber        = 
| factory            = 
| family             = 
| replaced           = 
| yearconstruction   = 
| yearservice        = 
| refurbishment      = 
| yearscrapped       = 
| numberconstruction = 
| numberbuilt        = 
| numberservice      = 
| numberpreserved    = 
| numberscrapped     = 
| predecessor        = 
| successor          = 
| formation          = 
| diagram            = 
| code               = 
| fleetnumbers       = 
| capacity           = 
| owner              = 
| operator           = 
| depots             = 
| lines              = 

| carbody            = 
| trainlength        = 
| carlength          = 
| width              = 
| height             = 
| lowfloor           = 
| floorheight        = 
| platformheight     = 
| entrylevelorstep   = 
| doors              = 
| art-sections       = 
| wheeldiameter      = 
| wheelbase          = 
| maxspeed           = 
| weight             = 
| axleload           = 
| steep gradient     = 
| traction           = 
| engine             = 
| enginetype         = 
| cylindercount      = 
| cylindersize       = 
| displacement       = 
| traction motors    = 
| poweroutput        = 
| tractiveeffort     = 
| transmission       = 
| acceleration       = 
| deceleration       = 
| aux                = 
| powersupply        = 
| hvac               = 
| electricsystem     = 
| collectionmethod   = 
| uicclass           = 
| aarwheels          = 
| wheels driven      = 
| bogies             = 
| minimum curve      = 
| brakes             = 
| safety             = 
| coupling           = 
| multipleworking    = 
| light              = 
| gauge              = 
| notes              = 
| box_width          = 
| label_width        = 
| seating            = 
| stocktype          = 
}}
Cutdown for a carriage / coach:
{{Infobox train
| background         = 
| name               = 
| image              = 
| imagealt           = 
| imagesize          = 
| caption            = 
| interiorimage      = 
| interiorimagealt   = 
| interiorcaption    = 
| service            = 
| manufacturer       = 
| ordernumber        = 
| factory            = 
| family             = 
| replaced           = 
| yearconstruction   = 
| yearservice        = 
| refurbishment      = 
| yearscrapped       = 
| numberconstruction = 
| numberbuilt        = 
| numberservice      = 
| numberpreserved    = 
| numberscrapped     = 
| formation          = 
| diagram            = 
| code               = 
| fleetnumbers       = 
| capacity           = 
| owner              = 
| operator           = 
| depots             = 
| lines              = 

| carbody            = 
| carlength          = 
| width              = 
| height             = 
| floorheight        = 
| platformheight     = 
| entrylevelorstep   = 
| doors              = 
| art-sections       = 
| wheeldiameter      = 
| wheelbase          = 
| maxspeed           = 
| weight             = 
| axleload           = 
| aux                = 
| powersupply        = 
| hvac               = 
| bogies             = 
| brakes             = 
| coupling           = 
| light              = 
| gauge              = 
| notes              = 
| seating            = 
}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox train

TemplateData

This template is used in articles about rail vehicles, including, but not limited to railcars, multiple units, trams/streetcars and freight and passenger cars. Locomotives use Template:Infobox locomotive; train services use Template:Infobox rail service.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
box_widthbox_width

no description

Unknownoptional
label_widthlabel_width

no description

Unknownoptional
Backgroundbackground

The background colour of name parameter, either as a "colour name" (e.g. forestgreen), a hexadecimal value (e.g. #0093cf), or a colour template (e.g. #{{C2C colour}}). If the background is dark, please change the text colour by appending the CSS color selector. (e.g. background = black;color:white or background = #806040;color:#ffffdd ). Note that quotation marks are not permitted in these CSS statements. If |background= is present, but blank, the default is white; but if this parameter is omitted entirely, the default background colour is #eee.

Example
forestgreen, #0093cf, #{{C2C colour}}
Contentoptional
Namename

The name that will appear as the title of the infobox. Please do not change the colour of the text here, do so in ''background'' below.

Linerequired
Imageimage

The filename for the infobox image

Fileoptional
Image Altimagealt

Alternative text for image.

Stringoptional
Image Sizeimagesize image_size

The size (width) of the images in pixels. If |imagesize= is present, but blank the image will appear full size; but if this parameter is omitted entirely, the default size is 300 pixels wide.

Example
200
Numberoptional
Image Captioncaption

The image caption that will be displayed.

Contentoptional
Interior Imageinteriorimage

The filename for the second infobox image.

Fileoptional
Interior Image Altinteriorimagealt

Alternative text for interiorimage.

Stringoptional
Interior Captioninteriorcaption

The second image caption that will be displayed.

Contentoptional
Year(s) of Serviceservice

The dates that the vehicles were in service, separated by an en dash.

Example
1964–1976
Stringoptional
manufacturermanufacturer

The company that manufactured the train.

Contentoptional
Designerdesigner

If another company designed the vehicle

Contentoptional
Assemblyassembly

Where it was produced (city, country)

Contentoptional
Order Numberordernumber

The Order number or Lot number the vehicles were procured under.

Contentoptional
Factoryfactory

The factory at which the vehicles were made (if manufacturer had more than one factory).

Contentoptional
Familyfamily

The type or range of manufacturer’s vehicles that the vehicles comes from

Example
British Rail Mark 3
Contentoptional
Replacedreplaced

The vehicles that were replaced by these vehicles.

Contentoptional
Year(s) of Constructionyearconstruction constructed

The dates that the vehicles were under construction, separated by an en dash.

Example
1964–1976
Stringoptional
Year of Start of Serviceyearservice

The date that the vehicles first entered service.

Stringoptional
Year(s) of Refurbishmentrefurbishment

The dates that the vehicles were refurbished, separated by an en dash.

Example
1964–1976
Stringoptional
Year(s) when Scrappedyearscrapped

The dates that the vehicles were scrapped, separated by an en dash.

Example
1964–1976
Stringoptional
Number Under Constructionnumberconstruction construction

The quantity of vehicles under construction. construction also works, but is deprecated.

Stringoptional
Number Builtnumberbuilt built

The quantity of vehicles manufactured. Built also works, but is deprecated.

Stringoptional
Number In Servicenumberservice

The quantity of vehicles in service.

Stringoptional
Number Preservednumberpreserved

The quantity of vehicles preserved.

Stringoptional
Number Scrappednumberscrapped

The quantity of vehicles scrapped.

Stringoptional
predecessorpredecessor

no description

Unknownoptional
successorsuccessor

no description

Unknownoptional
Formationformation

The formation and/or length of a diesel or electric multiple unit.

Contentoptional
Diagramdiagram

The classification Diagram, or Plan assigned to the vehicles.

Contentoptional
Codecode

The design or TOPS code assigned to the vehicles.

Contentoptional
Fleet Numbersfleetnumbers

The fleet numbers of the vehicles.

Contentoptional
Capacitycapacity

The capacity of the vehicles.

Contentoptional
Owner(s)owner

The owner(s) of the vehicles – common in countries such as UK where operators lease rolling stock from a ROSCO. If more than one, use {{unbulleted list}} to list them each on their own line.

Contentoptional
Operator(s)operator

The operator(s) of the vehicles. If more than one, use {{unbulleted list}} to list them each on their own line.

Contentoptional
Depotsdepots

The maintenance depots to which the vehicles were assigned. If more than one, use {{unbulleted list}} to list them each on their own line.

Contentoptional
Lineslines

The lines or routes to which the vehicles were assigned. If more than one, use {{unbulleted list}} to list them each on their own line.

Contentoptional
Car Bodycarbody

The type of carbody construction used.

Example
spotwelded stainless steel
Contentoptional
Train Lengthtrainlength TrainLength

The total length of the train or unit. Please use {{convert}}.

Example
{{convert|123|ft|m}}
Contentoptional
Car Lengthcarlength CarLength

The length of each vehicles (only those that differ). Please use {{convert}}.

Example
{{convert|123|ft|m}}
Contentoptional
Widthwidth

The width of each vehicles – please use {{convert}}.

Example
{{convert|123|ft|m}}
Contentoptional
Heightheight

The height of each vehicles – please use {{convert}}.

Example
{{convert|123|ft|m}}
Contentoptional
lowfloorlowfloor

The low floor proportion of trams.

Contentoptional
Floor Heightfloorheight

The height of the vehicles’ floor above the rail.

Contentoptional
Platform Heightplatformheight

Standard measurement is from top of the rail.

Contentoptional
entrylevelorstepentrylevelorstep

The type of entry of the vehicles. State whether level (if platform height and floor height is the same or with a minimal difference) or step (if the platform height and floor height has a big difference and requires steps).

Contentoptional
Doorsdoors

The number and type of doors fitted.

Contentoptional
Articulated Sectionsart-sections

The number of coaches/power vehicles formed into an articulated trainset.

Contentoptional
Wheel Diameterwheeldiameter

The diameter of the wheels (can be expressed new/worn)

Contentoptional
Wheel Basewheelbase

The wheelbase of the train. State whether train, vehicle, bogie (truck), or bogie centers.

Contentoptional
Max Speedmaxspeed

The maximum permitted speed of the vehicles – please use {{convert}}.

Example
{{convert|123|km/h|mph}}
Contentoptional
Weightweight

The weight of the vehicles – please use {{convert}}.

Example
{{convert|1|lb|kg}}
Contentoptional
Axle Loadaxleload

The maximum axle load of the rail vehicle(s).

Contentoptional
Gradientsteep gradient gradient

at per thousand ‰ or at per hundred %

Contentoptional
Tractiontraction

The traction system of the vehicles (if electric multiple unit).

Contentoptional
Engineengine

The prime mover(s) used in the vehicle (if diesel multiple unit or generator car).

Contentoptional
Engine Typeenginetype Enginetype

The type of engine(s)/prime mover(s)

Contentoptional
Cylinder countcylindercount

The number of cylinders in an engine

Numberoptional
Cylinder sizecylindersize

The bore and stroke of each cylinder in an engine

Contentoptional
Displacementdisplacement

The swept volume of each cylinder or each engine

Contentoptional
Traction motorstraction motors

The type/model of traction motors

Unknownoptional
poweroutputpoweroutput Power powerout

The power output of the engine(s) or traction motor(s) used (if fitted). Power and powerout also work, but are deprecated.

Contentoptional
Tractive Efforttractiveeffort

The tractive effort of the train's propulsion system.

Contentoptional
Transmissiontransmission

The transmission used (e.g. electric/hydraulic/mechanical) if fitted with engine(s).

Contentoptional
Accelerationacceleration

The acceleration rate of the vehicles.

Contentoptional
Decelerationdeceleration

The deceleration rate of the vehicles.

Contentoptional
Auxiliaryaux

The type of any auxiliaries fitted, if any.

Contentoptional
Power Supplypowersupply

The type of any power supply fitted, if any.

Contentoptional
HVAChvac

The type of train heating, ventilation and air conditioning fitted, if any.

Contentoptional
Electrical Systemelectricsystem

The voltage, and frequency if A.C., of the power supply to electric multiple units. Also Overhead line or Third rail etc.

Contentoptional
Collection Methodcollectionmethod

The current collection method used on electric multiple units.

Example
Pantograph, Contact shoe
Contentoptional
UIC Classuicclass

The UIC classification of powered/unpowered axles

Contentoptional
AAR Wheelaarwheels wheel arrangement

The AAR wheel arrangement of powered cars.

Contentoptional
wheels drivenwheels driven

The number of wheels driven by the engine(s)/motor(s).

Unknownoptional
Bogiesbogies

The type of bogies of trucks fitted, if known.

Contentoptional
Minimum Curveminimum curve

Minimal size of a curve the tram can pass

Contentoptional
Brakesbrakes Brakes

The type of train brakes fitted.

Example
Air, Vacuum, Electro-Pneumatic
Contentoptional
Safety System(s)safety

The type(s) of safety systems fitted.

Contentoptional
Coupling Typecoupling

The type of vehicle couplings used.

Example
knuckle, Dellner, Scharfenberg
Contentoptional
Multiple Workingmultipleworking

The type of multiple working used, if fitted.

Contentoptional
Lightslight

The type of headlights a locomotive or subway car has.

Example
halogen bulb, Light Emitting Diode
Unknownoptional
Seatingseating CarSeating

The seating layout of a train.

Example
Longitudinal, transverse
Contentoptional
stocktypestocktype StockType

The type of the train vehicles.

Example
Electric multiple unit, Diesel multiple unit
Unknownoptional
Gaugegauge

The vehicles’ rail gauge - please use {{Track gauge}}

Example
{{Track gauge|1520 mm}}
Unknownoptional
Notesnotes

notes, miscellany, sources etc.

Contentoptional

Tracking category

Supporting templates

See also