Template:Infobox train

From blackwiki
Jump to navigation Jump to search
Script error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]

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.

Script error: No such module "If empty".
Example.png
caption
In serviceservice
Manufacturermanufacturer
Designerdesigner
Assemblyassembly
Order no.ordernumber
Built atfactory
Family namefamily
Replacedreplaced
Constructedyearconstruction
Entered serviceyearservice
Refurbishedrefurbishment
Scrappedyearscrapped
Number under constructionnumberconstruction
Number builtnumberbuilt
Number in servicenumberservice
Number preservednumberpreserved
Number scrappednumberscrapped
Predecessorpredecessor
Successorsuccessor
Formationformation
Diagramdiagram
Design codecode
Fleet numbersfleetnumbers
Capacitycapacity
Operator(s)operator
Depot(s)depots
Service(s) assignedlines
Specifications
Car body constructioncarbody
Train lengthtrainlength
Car lengthcarlength
Widthwidth
Heightheight
Floor heightfloorheight
Low-floorlowfloor
Platform heightplatformheight
Entryentrylevelorstep
Doorsdoors
Articulated sectionsart-sections
Wheel diameterwheeldiameter
Wheelbasewheelbase
Maximum speedmaxspeed
Weightweight
Axle loadaxleload
Steep gradientgradient
Traction systemtraction
Prime mover(s)engine
Engine typeenginetype
Cylinder countcylindercount
Cylinder sizecylindersize
Traction motorstraction motors
Power outputpoweroutput
Tractive efforttractiveeffort
Transmissiontransmission
Accelerationacceleration
Decelerationdeceleration
Auxiliariesaux
Power supplypowersupply
Train heatinghvac
Electric system(s)electricsystem
Current collection methodcollectionmethod
UIC classificationuicclass
AAR wheel arrangementaarwheels
Wheels drivenwheels driven
Bogiesbogies
Minimum turning radiusminimum curve
Braking system(s)brakes
Safety system(s)safety
Coupling systemcoupling
Multiple workingmultipleworking
Headlight typelight
Track gaugegauge
Seatingseating
Stock typestocktype
Notes
notes
[[Category:Infobox templates|Template:Remove first word]]

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 229 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 (e.g. 1964–1976).
  • assembly - where it was produced (city, country)
  • designer - if another company designed the vehicle
  • 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.
  • 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.
  • operator - The operator(s) of the vehicles, separated with line breaks (<br>) if more than one.
  • 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}}. = 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}}.
  • floorheight - The height of the vehicles’ floor above the rail.
  • platformheight - Standard measurement is from top of the rail.
  • entrylevelorstep -
  • 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}}. = 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
  • cylindersize
  • traction motors -
  • poweroutput - The power output of the engine(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, and frequency if A.C., of the power supply to electric multiple units. Also Overhead line or Third rail etc.
  • collectionmethod - The current collection method used on electric multiple units (e.g. Pantograph (rail), Contact shoe)
  • uicclass – The UIC classification of powered/unpowered axles
  • aarwheels - (or wheel arrangement) The AAR wheel arrangement of powered cars.
  • bogies - The type of bogies of trucks fitted, if known.
  • minimum curve - minimal size of a curve the tram 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
  • lowfloor
  • manufacturer
  • predecessor
  • seating – (or CarSeating)
  • stocktype – (or StockType)
  • successor
  • wheels driven
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         = 
| 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     = 
| 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            = 
| imagesize        = 
| imagealt         = 
| caption          = 
| interiorimage    = 
| interiorimagealt = 
| interiorcaption  = 
| service          = 
| manufacturer     = 
| ordernumber      = 
| factory          = 
| family           = 
| replaced         = 
| yearconstruction = 
| yearservice      = 
| refurbishment    = 
| yearscrapped     = 
| numberconstruction= 
| numberbuilt      = 
| numberservice    = 
| numberpreserved  = 
| numberscrapped   = 
| formation        = 
| diagram          = 
| code             = 
| fleetnumbers     = 
| capacity         = 
| 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 parameter usage 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 229 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

no description

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
Operator(s)operator

The operator(s) of the vehicles, separated with line breaks (<br>) if more than one.

Contentoptional
Depotsdepots

The maintenance depots to which the vehicles were assigned.

Contentoptional
Lineslines

The lines or routes to which the vehicles were assigned.

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

no description

Unknownoptional
Floor Heightfloorheight

The height of the vehicles’ floor above the rail.

Contentoptional
Platform Heightplatformheight

Standard measurement is from top of the rail.

Contentoptional
Entrylevelorstepentrylevelorstep

no description

Unknownoptional
Doorsdoors

The number and type of doors fitted.

Contentoptional
Articulated Setionsart-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
Cylindercountcylindercount

no description

Unknownoptional
Cylindersizecylindersize

no description

Unknownoptional
Traction motorstraction motors

no description

Unknownoptional
Poweroutputpoweroutput Power powerout

The power output of the engine(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

no description

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

no description

Unknownoptional
Stocktypestocktype StockType

no description

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