This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template uses Lua: |
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 | |
---|---|
Stock type | stocktype |
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 |
Owners | owner |
Operators | operator |
Depots | depots |
Lines 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 |
Seating | seating |
Track gauge | gauge |
Notes/references | |
notes |
Usage
editThis 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 –
- consist – The collection of rail vehicles in a train (mainly North America).
- formation - The composition and/or length of a diesel or electric multiple unit (mainly UK).
- 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 =
| consist =
| 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 =
| consist =
| 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 =
}}
|
- Use of one or more unrecognised parameters will place the page in Category:Pages using Infobox train with unknown parameters (22).
TemplateData
editTemplateData for Infobox train/doc
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.
|
Tracking category
editSupporting templates
editSee also
edit{{Infobox rail service}}
- for specific services offered by railway companies{{Infobox locomotive}}
– for locomotives{{Infobox German railway vehicle}}
– for direct translations of articles copied from the German Wikipedia, pending conversion to{{Infobox train}}
or{{Infobox locomotive}}
format