Template:Infobox train/doc: Difference between revisions
→Usage: Aligned equal signs in parameter list |
PulsMeister (talk | contribs) Added documentation for new parameters: gearbox and gearratio. |
||
(25 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-use}} |
|||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
{{Intricate}} |
{{Intricate}} |
||
Line 15: | Line 16: | ||
| interiorimagealt = |
| interiorimagealt = |
||
| interiorcaption = |
| interiorcaption = |
||
| stocktype = ''stocktype'' |
|||
| service = ''service'' |
| service = ''service'' |
||
| manufacturer = ''manufacturer'' |
| manufacturer = ''manufacturer'' |
||
Line 23: | Line 25: | ||
| yearservice = ''yearservice'' |
| yearservice = ''yearservice'' |
||
| refurbishment = ''refurbishment'' |
| refurbishment = ''refurbishment'' |
||
| yearretired = ''yearretired'' |
|||
| yearscrapped = ''yearscrapped'' |
| yearscrapped = ''yearscrapped'' |
||
| numberconstruction = ''numberconstruction'' |
| numberconstruction = ''numberconstruction'' |
||
| numberbuilt = ''numberbuilt'' |
| numberbuilt = ''numberbuilt'' |
||
| numberservice = ''numberservice'' |
| numberservice = ''numberservice'' |
||
| numberretired = ''numberretired'' |
|||
| numberpreserved = ''numberpreserved'' |
| numberpreserved = ''numberpreserved'' |
||
| numberscrapped = ''numberscrapped'' |
| numberscrapped = ''numberscrapped'' |
||
Line 32: | Line 36: | ||
| fleetnumbers = ''fleetnumbers'' |
| fleetnumbers = ''fleetnumbers'' |
||
| capacity = ''capacity'' |
| capacity = ''capacity'' |
||
| owner = ''owner'' |
|||
| operator = ''operator'' |
| operator = ''operator'' |
||
| depots = ''depots'' |
| depots = ''depots'' |
||
Line 55: | Line 60: | ||
| cylindercount = ''cylindercount'' |
| cylindercount = ''cylindercount'' |
||
| cylindersize = ''cylindersize'' |
| cylindersize = ''cylindersize'' |
||
| displacement = ''displacement'' |
|||
| traction motors = ''traction motors'' |
| traction motors = ''traction motors'' |
||
| poweroutput = ''poweroutput'' |
| poweroutput = ''poweroutput'' |
||
| tractiveeffort = ''tractiveeffort'' |
| tractiveeffort = ''tractiveeffort'' |
||
| transmission = ''transmission'' |
| transmission = ''transmission'' |
||
| gearbox = ''gearbox'' |
|||
| gearratio = ''gearratio'' |
|||
| acceleration = ''acceleration'' |
| acceleration = ''acceleration'' |
||
| deceleration = ''deceleration'' |
| deceleration = ''deceleration'' |
||
Line 88: | Line 96: | ||
| ordernumber = ''ordernumber'' |
| ordernumber = ''ordernumber'' |
||
| seating = ''seating'' |
| seating = ''seating'' |
||
| stocktype = ''stocktype'' |
|||
}} |
}} |
||
Line 98: | Line 105: | ||
The remaining parameters are as follows (in the order that they will appear in the template output): |
The remaining parameters are as follows (in the order that they will appear in the template output): |
||
* ''box_width'' – |
|||
* ''label_width'' – |
|||
* ''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. #{{tl|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 {{para|background}} is present, but blank, the default is white; but if this parameter is omitted entirely, the default background colour is #eee. |
* ''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. #{{tl|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 {{para|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. |
* ''image'' - The filename for the infobox image. |
||
Line 106: | Line 115: | ||
* ''interiorimagealt'' - [[Wikipedia:Alternative text for images|Alternative text]] for ''interiorimage''. |
* ''interiorimagealt'' - [[Wikipedia:Alternative text for images|Alternative text]] for ''interiorimage''. |
||
* ''interiorcaption'' - The second image caption that will be displayed. |
* ''interiorcaption'' - The second image caption that will be displayed. |
||
* ''stocktype'' – (or ''StockType'') The type of the train vehicles (e.g. [[Electric multiple unit]], [[Diesel multiple unit]], etc.). |
|||
* ''service'' - The dates that the vehicles were in service, separated by an en dash (e.g. 1964–1976). |
|||
* ''service'' - The dates that the vehicles were in service, separated by an [[MOS:RANGE|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. |
* ''manufacturer'' – The company that manufactured the train. |
||
* ''designer'' - if another company designed the vehicle |
* ''designer'' - if another company designed the vehicle. |
||
* ''assembly'' - where it was produced (city, country) |
* ''assembly'' - where it was produced (city, country). |
||
* ''ordernumber'' - The Order number or Lot number the vehicles were procured under. |
* ''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). |
* ''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]]). |
* ''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. |
* ''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). |
* ''yearconstruction'' - (or ''constructed'') The dates that the vehicles were under construction, separated by an [[MOS:RANGE|en dash]] (e.g. 1964–1976). |
||
* ''yearservice'' - The date that the vehicles first entered service. |
* ''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). |
* ''refurbishment'' - The dates that the vehicles were refurbished, separated by an [[MOS:RANGE|en dash]] (e.g. 1964–1976). |
||
* '' |
* ''yearretired'' – The dates that the vehicles were retired/withdrawn from service, separated by an [[MOS:RANGE|en dash]] (e.g. 1964–1976). |
||
* ''yearscrapped'' - The dates that the vehicles were scrapped, separated by an [[MOS:RANGE|en dash]] (e.g. 1964–1976). |
|||
* ''numberconstruction'' - The quantity of vehicles under construction. ''construction'' also works, but is deprecated. |
* ''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. |
* ''numberbuilt'' - The quantity of vehicles manufactured. ''Built'' also works, but is deprecated. |
||
* ''numberservice'' - The quantity of vehicles in service. |
* ''numberservice'' - The quantity of vehicles in service. |
||
* ''numberretired'' - The quantity of vehicles taken out of service. |
|||
* ''numberpreserved'' - The quantity of vehicles preserved. |
* ''numberpreserved'' - The quantity of vehicles preserved. |
||
* ''numberscrapped'' - The quantity of vehicles scrapped. |
* ''numberscrapped'' - The quantity of vehicles scrapped. |
||
* ''predecessor'' – |
|||
* ''successor'' – |
|||
* ''formation'' - The formation and/or length of a diesel or electric [[multiple unit]]. |
* ''formation'' - The formation and/or length of a diesel or electric [[multiple unit]]. |
||
* ''diagram'' - The classification Diagram, or Plan assigned to the vehicles. |
* ''diagram'' - The classification Diagram, or Plan assigned to the vehicles. |
||
Line 128: | Line 142: | ||
* ''fleetnumbers'' - The fleet numbers of the vehicles. |
* ''fleetnumbers'' - The fleet numbers of the vehicles. |
||
* ''capacity'' - The capacity 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 [[Rolling stock company|ROSCO]]. If more than one, use {{tl|unbulleted list}} to list them each on their own line. |
||
* ''operator'' - The operator(s) of the vehicles. If more than one, use {{tl|unbulleted list}} to list them each on their own line. |
|||
* ''depots'' - The maintenance depots to which the vehicles were assigned. |
* ''depots'' - The maintenance depots to which the vehicles were assigned. |
||
* ''lines'' - The lines or routes to which the vehicles were assigned. |
* ''lines'' - The lines or routes to which the vehicles were assigned. |
||
Parameters below fall under the '''Specifications''' heading |
Parameters below fall under the '''Specifications''' heading |
||
* ''carbody'' - The type of carbody construction used (e.g. spotwelded stainless steel). |
* ''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 {{tl|convert}}. |
* ''trainlength'' - (or ''TrainLength'') The total length of the train or unit. Please use {{tl|convert}}. |
||
* ''carlength'' - (or ''CarLength'') The length of each vehicles (only those that differ). Please use {{tl|convert}}. |
* ''carlength'' - (or ''CarLength'') The length of each vehicles (only those that differ). Please use {{tl|convert}}. |
||
* ''width'' - The width of each vehicles – please use {{tl|convert}}. |
* ''width'' - The width of each vehicles – please use {{tl|convert}}. |
||
* ''height'' - The height of each vehicles – please use {{tl|convert}}. |
* ''height'' - The height of each vehicles – please use {{tl|convert}}. |
||
* ''lowfloor'' – The low floor proportion of trams. |
|||
* ''floorheight'' - The height of the vehicles’ floor above the rail. |
* ''floorheight'' - The height of the vehicles’ floor above the rail. |
||
* ''platformheight'' - Standard measurement is from top of 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). |
|||
* ''entrylevelorstep'' - |
|||
* ''doors'' - The number and type of doors fitted. |
* ''doors'' - The number and type of doors fitted. |
||
* ''art-sections'' - The number of coaches/power vehicles formed into an [[articulated train]]set. |
* ''art-sections'' - The number of coaches/power vehicles formed into an [[articulated train]]set. |
||
* ''wheeldiameter'' - The diameter of the wheels (can be expressed new/worn) |
* ''wheeldiameter'' - The diameter of the wheels (can be expressed new/worn). |
||
* ''wheelbase'' - The [[wheelbase#Rail|wheelbase]] of the train. State whether train, vehicle, bogie (truck), or bogie centers. |
* ''wheelbase'' - The [[wheelbase#Rail|wheelbase]] of the train. State whether train, vehicle, bogie (truck), or bogie centers. |
||
* ''maxspeed'' - The maximum permitted speed of the vehicles – please use {{tl|convert}}. |
* ''maxspeed'' - The maximum permitted speed of the vehicles – please use {{tl|convert}}. |
||
* ''weight'' - The weight of the vehicles – please use {{tl|convert}}. |
* ''weight'' - The weight of the vehicles – please use {{tl|convert}}. |
||
* ''axleload'' - The maximum axle load of the rail vehicle(s). |
* ''axleload'' - The maximum axle load of the rail vehicle(s). |
||
* ''[[ |
* ''[[Grade (slope)|steep gradient]]'' - (or ''gradient'') at per thousand [[‰]] or at per hundred [[Percent sign|%]] |
||
* ''traction'' - The traction system of the vehicles (if electric multiple unit). |
* ''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). |
* ''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) |
* ''enginetype'' - (or ''Enginetype'') The type of engine(s)/prime mover(s). |
||
* ''cylindercount'' - The number of cylinders in an engine |
* ''cylindercount'' - The number of cylinders in an engine. |
||
* ''cylindersize'' - The diameter ([[Bore (engine)|bore]]) and length ([[Stroke (engine)|stroke]]) of each cylinder. |
|||
* ''cylindersize'' |
|||
* ''displacement'' - The [[Engine displacement|swept volume]] of each cylinder or each engine. |
|||
* ''traction motors'' - The type/model of traction motors |
|||
* ''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. |
* ''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. |
* ''tractiveeffort'' - The [[tractive effort]] of the train's propulsion system. |
||
* ''transmission'' - The transmission used (e.g. electric/hydraulic/mechanical) if fitted with engine(s). |
* ''transmission'' - The transmission used (e.g. electric/hydraulic/mechanical), if fitted with engine(s). |
||
* ''gearbox'' - The vehicle's [[Gear_train|gearbox]] (manufacturer and type). |
|||
* ''gearratio'' - The vehicle's [[Gear_train#Gear_ratio|gear ratio]]; the relationship between the traction motor's RPM and the axle's RPM. |
|||
* ''acceleration'' - The acceleration rate of the vehicles. |
* ''acceleration'' - The acceleration rate of the vehicles. |
||
* ''deceleration'' - The deceleration rate of the vehicles. |
* ''deceleration'' - The deceleration rate of the vehicles. |
||
Line 163: | Line 182: | ||
* ''hvac'' - The type of train '''h'''eating, '''v'''entilation and '''a'''ir '''c'''onditioning fitted, if any. |
* ''hvac'' - The type of train '''h'''eating, '''v'''entilation and '''a'''ir '''c'''onditioning 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]]). |
* ''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 (transport)|pantograph]], [[Current collector#Contact shoe|contact shoe]]) |
* ''collectionmethod'' - The current collection method used on electric multiple units (e.g. [[Pantograph (transport)|pantograph]], [[Current collector#Contact shoe|contact shoe]]). |
||
* ''uicclass'' – The [[UIC classification]] of powered/unpowered axles |
* ''uicclass'' – The [[UIC classification]] of powered/unpowered axles |
||
* ''aarwheels'' - (or ''wheel arrangement'') The [[AAR wheel arrangement]] of powered cars. |
* ''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. |
* ''bogies'' - The type of bogies of trucks fitted, if known. |
||
* ''minimum curve'' - |
* ''minimum curve'' - minimum size of a curve the vehicle can pass. |
||
* ''brakes'' - (or ''Brakes'') The type of train brakes fitted |
* ''brakes'' - (or ''Brakes'') The type of train brakes fitted (e.g. Air, Vacuum, Electro-Pneumatic). |
||
* ''safety'' - The type(s) of safety systems fitted. |
* ''safety'' - The type(s) of safety systems fitted. |
||
* ''coupling'' - The type of vehicle couplings used (e.g. knuckle, Dellner, Scharfenberg) |
* ''coupling'' - The type of vehicle couplings used (e.g. knuckle, Dellner, Scharfenberg). |
||
* ''multipleworking'' - The type of multiple working used, if fitted. |
* ''multipleworking'' - The type of multiple working used, if fitted. |
||
* ''light'' - The type of headlights a locomotive or subway car has |
* ''light'' - The type of headlights a locomotive or subway car has (e.g. halogen bulb, Light Emitting Diode, etc. ). |
||
* ''gauge'' - The vehicles’ rail gauge |
* ''gauge'' - The vehicles’ rail gauge – please use {{tl|Track gauge}}. |
||
* ''notes'' - |
* ''notes'' - Notes, miscellany, sources etc. |
||
* ''seating'' – (or ''CarSeating'') The seating arrangement of a train (e.g. longitudinal, transverse, etc.). |
|||
* ''box_width'' – |
|||
* ''label_width'' – |
|||
* ''lowfloor'' – |
|||
* ''predecessor'' – |
|||
* ''seating'' – (or ''CarSeating'') The seating layout of a train. (e.g. longitudinal, open coach, etc.) |
|||
* ''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. |
;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. |
||
Line 188: | Line 201: | ||
<table><tr><td>Full (for DMU / EMU): |
<table><tr><td>Full (for DMU / EMU): |
||
<syntaxhighlight lang="wikitext"> |
|||
<pre> |
|||
{{Infobox train |
{{Infobox train |
||
| box_width = |
|||
| label_width = |
|||
| background = |
| background = |
||
| name = |
| name = |
||
Line 199: | Line 214: | ||
| interiorimagealt = |
| interiorimagealt = |
||
| interiorcaption = |
| interiorcaption = |
||
| stocktype = |
|||
| service = |
| service = |
||
| manufacturer = |
| manufacturer = |
||
| designer = |
| designer = |
||
| assembly = |
| assembly = |
||
| ordernumber = |
| ordernumber = |
||
| factory = |
| factory = |
||
Line 210: | Line 226: | ||
| yearservice = |
| yearservice = |
||
| refurbishment = |
| refurbishment = |
||
| yearretired = |
|||
| yearscrapped = |
| yearscrapped = |
||
| numberconstruction = |
| numberconstruction = |
||
| numberbuilt = |
| numberbuilt = |
||
| numberservice = |
| numberservice = |
||
| numberretired = |
|||
| numberpreserved = |
| numberpreserved = |
||
| numberscrapped = |
| numberscrapped = |
||
| predecessor = |
| predecessor = |
||
| successor = |
| successor = |
||
| formation = |
| formation = |
||
| diagram = |
| diagram = |
||
Line 223: | Line 241: | ||
| fleetnumbers = |
| fleetnumbers = |
||
| capacity = |
| capacity = |
||
| owner = |
|||
| operator = |
| operator = |
||
| depots = |
| depots = |
||
Line 232: | Line 251: | ||
| width = |
| width = |
||
| height = |
| height = |
||
| lowfloor = |
| lowfloor = |
||
| floorheight = |
| floorheight = |
||
| platformheight = |
| platformheight = |
||
Line 241: | Line 260: | ||
| wheelbase = |
| wheelbase = |
||
| maxspeed = |
| maxspeed = |
||
| weight = |
| weight = |
||
| axleload = |
| axleload = |
||
| steep gradient = |
| steep gradient = |
||
| traction = |
| traction = |
||
| engine = |
| engine = |
||
| enginetype = |
| enginetype = |
||
| cylindercount = |
| cylindercount = |
||
| cylindersize = |
| cylindersize = |
||
| |
| displacement = |
||
| traction motors = |
|||
| poweroutput = |
| poweroutput = |
||
| tractiveeffort = |
| tractiveeffort = |
||
| transmission = |
| transmission = |
||
| gearbox = |
|||
| gearratio = |
|||
| acceleration = |
| acceleration = |
||
| deceleration = |
| deceleration = |
||
Line 264: | Line 286: | ||
| wheels driven = |
| wheels driven = |
||
| bogies = |
| bogies = |
||
| minimum curve = |
| minimum curve = |
||
| brakes = |
| brakes = |
||
| safety = |
| safety = |
||
| coupling = |
| coupling = |
||
| multipleworking = |
| multipleworking = |
||
| light = |
| light = |
||
| seating = |
|||
| gauge = |
| gauge = |
||
| notes = |
| notes = |
||
| box_width = |
|||
| label_width = |
|||
| seating = |
|||
| stocktype = |
|||
}} |
}} |
||
</ |
</syntaxhighlight></td><td style="vertical-align:top;">Cutdown for a carriage / coach: |
||
<syntaxhighlight lang="wikitext"> |
|||
<pre> |
|||
{{Infobox train |
{{Infobox train |
||
| background = |
| background = |
||
Line 289: | Line 308: | ||
| interiorimagealt = |
| interiorimagealt = |
||
| interiorcaption = |
| interiorcaption = |
||
| stocktype = |
|||
| service = |
| service = |
||
| manufacturer = |
| manufacturer = |
||
Line 298: | Line 318: | ||
| yearservice = |
| yearservice = |
||
| refurbishment = |
| refurbishment = |
||
| yearretired = |
|||
| yearscrapped = |
| yearscrapped = |
||
| numberconstruction = |
| numberconstruction = |
||
| numberbuilt = |
| numberbuilt = |
||
| numberservice = |
| numberservice = |
||
| numberretired = |
|||
| numberpreserved = |
| numberpreserved = |
||
| numberscrapped = |
| numberscrapped = |
||
Line 309: | Line 331: | ||
| fleetnumbers = |
| fleetnumbers = |
||
| capacity = |
| capacity = |
||
| owner = |
|||
| operator = |
| operator = |
||
| depots = |
| depots = |
||
Line 325: | Line 348: | ||
| wheelbase = |
| wheelbase = |
||
| maxspeed = |
| maxspeed = |
||
| weight = |
| weight = |
||
| axleload = |
| axleload = |
||
| aux = |
| aux = |
||
Line 333: | Line 356: | ||
| brakes = |
| brakes = |
||
| coupling = |
| coupling = |
||
| light = |
| light = |
||
| seating = |
|||
| gauge = |
| gauge = |
||
| notes = |
| notes = |
||
| seating = |
|||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
</td></tr></table> |
</td></tr></table> |
||
*Use of one or more unrecognised parameters will place the page in {{clc|Pages using Infobox train with unknown parameters}}. |
*Use of one or more unrecognised parameters will place the page in {{clc|Pages using Infobox train with unknown parameters}}. |
||
Line 525: | Line 548: | ||
"label": "Capacity", |
"label": "Capacity", |
||
"description": "The capacity of the vehicles.", |
"description": "The capacity of the vehicles.", |
||
"type": "content" |
|||
}, |
|||
"owner": { |
|||
"label": "Owner(s)", |
|||
"description": "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.", |
|||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
"operator": { |
"operator": { |
||
"label": "Operator(s)", |
"label": "Operator(s)", |
||
"description": "The operator(s) of the vehicles, |
"description": "The operator(s) of the vehicles. If more than one, use {{unbulleted list}} to list them each on their own line.", |
||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
"depots": { |
"depots": { |
||
"label": "Depots", |
"label": "Depots", |
||
"description": "The maintenance depots to which the vehicles were assigned.", |
"description": "The maintenance depots to which the vehicles were assigned. If more than one, use {{unbulleted list}} to list them each on their own line.", |
||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
"lines": { |
"lines": { |
||
"label": "Lines", |
"label": "Lines", |
||
"description": "The lines or routes to which the vehicles were assigned.", |
"description": "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.", |
||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
Line 578: | Line 606: | ||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
"lowfloor": { |
"lowfloor": { |
||
"description": "The low floor proportion of trams.", |
|||
"type": "content" |
|||
}, |
|||
"floorheight": { |
"floorheight": { |
||
"label": "Floor Height", |
"label": "Floor Height", |
||
Line 589: | Line 620: | ||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
"entrylevelorstep": { |
"entrylevelorstep": { |
||
"description": "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).", |
|||
"type": "content" |
|||
}, |
|||
"doors": { |
"doors": { |
||
"label": "Doors", |
"label": "Doors", |
||
Line 654: | Line 688: | ||
}, |
}, |
||
"cylindercount": { |
"cylindercount": { |
||
"description": "The number of cylinders in an engine" |
"label": "Cylinder count", |
||
"description": "The number of cylinders in an engine", |
|||
"type": "number" |
|||
}, |
|||
"cylindersize": { |
|||
"label": "Cylinder size", |
|||
"description": "The bore and stroke of each cylinder in an engine", |
|||
"type": "content" |
|||
}, |
|||
"displacement": { |
|||
"label": "Displacement", |
|||
"description": "The swept volume of each cylinder or each engine", |
|||
"type": "content" |
|||
}, |
}, |
||
"cylindersize": {}, |
|||
"traction motors": { |
"traction motors": { |
||
"label": "Traction motors", |
|||
"description": "The type/model of traction motors" |
"description": "The type/model of traction motors" |
||
}, |
}, |
||
Line 727: | Line 773: | ||
"type": "content" |
"type": "content" |
||
}, |
}, |
||
"wheels driven": { |
"wheels driven": { |
||
"description": "The number of wheels driven by the engine(s)/motor(s)." |
|||
}, |
|||
"bogies": { |
"bogies": { |
||
"label": "Bogies", |
"label": "Bogies", |
||
Line 774: | Line 822: | ||
"label": "Seating", |
"label": "Seating", |
||
"description": "The seating layout of a train.", |
"description": "The seating layout of a train.", |
||
"example": "Longitudinal, |
"example": "Longitudinal, transverse", |
||
"type": "content" |
|||
}, |
}, |
||
"stocktype": { |
"stocktype": { |
||
"aliases": [ |
"aliases": [ |
||
"StockType" |
"StockType" |
||
] |
], |
||
"description": "The type of the train vehicles.", |
|||
"example": "Electric multiple unit, Diesel multiple unit", |
|||
"type": "line", |
|||
"required": true |
|||
}, |
}, |
||
"gauge": { |
"gauge": { |
||
Line 790: | Line 843: | ||
"description": "notes, miscellany, sources etc.", |
"description": "notes, miscellany, sources etc.", |
||
"type": "content" |
"type": "content" |
||
}, |
|||
"yearretired": { |
|||
"label": "Year(s) when retired or withdrawn", |
|||
"description": "Dates vehicles were retired or withdrawn from service", |
|||
"example": "1964–1969", |
|||
"type": "line" |
|||
}, |
|||
"numberretired": { |
|||
"label": "Number Retired", |
|||
"description": "The quantity of vehicles taken out of service.", |
|||
"type": "line" |
|||
} |
} |
||
}, |
}, |
||
Line 805: | Line 869: | ||
"interiorimagealt", |
"interiorimagealt", |
||
"interiorcaption", |
"interiorcaption", |
||
"stocktype", |
|||
"service", |
"service", |
||
"manufacturer", |
"manufacturer", |
||
Line 816: | Line 881: | ||
"yearservice", |
"yearservice", |
||
"refurbishment", |
"refurbishment", |
||
"yearretired", |
|||
"yearscrapped", |
"yearscrapped", |
||
"numberconstruction", |
"numberconstruction", |
||
"numberbuilt", |
"numberbuilt", |
||
"numberservice", |
"numberservice", |
||
"numberretired", |
|||
"numberpreserved", |
"numberpreserved", |
||
"numberscrapped", |
"numberscrapped", |
||
Line 829: | Line 896: | ||
"fleetnumbers", |
"fleetnumbers", |
||
"capacity", |
"capacity", |
||
"owner", |
|||
"operator", |
"operator", |
||
"depots", |
"depots", |
||
Line 854: | Line 922: | ||
"cylindercount", |
"cylindercount", |
||
"cylindersize", |
"cylindersize", |
||
"displacement", |
|||
"traction motors", |
"traction motors", |
||
"poweroutput", |
"poweroutput", |
||
Line 876: | Line 945: | ||
"light", |
"light", |
||
"seating", |
"seating", |
||
"stocktype", |
|||
"gauge", |
"gauge", |
||
"notes" |
"notes" |
||
Line 892: | Line 960: | ||
== See also == |
== See also == |
||
* {{tlx|Infobox rail service}} |
* {{tlx|Infobox rail service}} – for specific services offered by railway companies |
||
* {{tlx|Infobox locomotive}} – for locomotives |
* {{tlx|Infobox locomotive}} – for locomotives |
||
* {{tlx|Infobox rail line}} |
|||
* {{tlx|Infobox station}} |
|||
* {{tlx|Infobox German railway vehicle}} – for direct translations of articles copied from the [[:de:|German Wikipedia]], pending conversion to {{tlx|Infobox train}} or {{tlx|Infobox locomotive}} format |
* {{tlx|Infobox German railway vehicle}} – for direct translations of articles copied from the [[:de:|German Wikipedia]], pending conversion to {{tlx|Infobox train}} or {{tlx|Infobox locomotive}} format |
||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
||
<!-- Categories below this line, please; interwikis at Wikidata --> |
<!-- Categories below this line, please; interwikis at Wikidata --> |
||
[[Category:Rail transport infobox templates|Train]] |
[[Category:Rail transport infobox templates|Train]] |
||
[[Category:Templates that add a tracking category]] |
[[Category:Templates that add a tracking category]] |
||
}}</includeonly> |
}}</includeonly> |
Latest revision as of 23:13, 20 November 2024
This is a documentation subpage for Template:Infobox train. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,400 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 |
Retired | yearretired |
Scrapped | yearscrapped |
Number under construction | numberconstruction |
Number built | numberbuilt |
Number in service | numberservice |
Number retired | numberretired |
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 |
Gearbox | gearbox |
Gear ratio | gearratio |
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
[edit]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):
- box_width –
- label_width –
- 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.
- stocktype – (or StockType) The type of the train vehicles (e.g. Electric multiple unit, Diesel multiple unit, etc.).
- 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).
- yearretired – The dates that the vehicles were retired/withdrawn from service, 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.
- numberretired - The quantity of vehicles taken out of 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).
- gearbox - The vehicle's gearbox (manufacturer and type).
- gearratio - The vehicle's gear ratio; the relationship between the traction motor's RPM and the axle's RPM.
- 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.
- seating – (or CarSeating) The seating arrangement of a train (e.g. longitudinal, transverse, 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
| box_width =
| label_width =
| background =
| name =
| image =
| imagealt =
| imagesize =
| caption =
| interiorimage =
| interiorimagealt =
| interiorcaption =
| stocktype =
| service =
| manufacturer =
| designer =
| assembly =
| ordernumber =
| factory =
| family =
| replaced =
| yearconstruction =
| yearservice =
| refurbishment =
| yearretired =
| yearscrapped =
| numberconstruction =
| numberbuilt =
| numberservice =
| numberretired =
| 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 =
| gearbox =
| gearratio =
| acceleration =
| deceleration =
| aux =
| powersupply =
| hvac =
| electricsystem =
| collectionmethod =
| uicclass =
| aarwheels =
| wheels driven =
| bogies =
| minimum curve =
| brakes =
| safety =
| coupling =
| multipleworking =
| light =
| seating =
| gauge =
| notes =
}}
| Cutdown for a carriage / coach:
{{Infobox train
| background =
| name =
| image =
| imagealt =
| imagesize =
| caption =
| interiorimage =
| interiorimagealt =
| interiorcaption =
| stocktype =
| service =
| manufacturer =
| ordernumber =
| factory =
| family =
| replaced =
| yearconstruction =
| yearservice =
| refurbishment =
| yearretired =
| yearscrapped =
| numberconstruction =
| numberbuilt =
| numberservice =
| numberretired =
| 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 =
| seating =
| gauge =
| notes =
}}
|
- Use of one or more unrecognised parameters will place the page in Category:Pages using Infobox train with unknown parameters (17).
TemplateData
[edit]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.
|
Tracking category
[edit]Supporting templates
[edit]See also
[edit]{{Infobox rail service}}
– for specific services offered by railway companies{{Infobox locomotive}}
– for locomotives{{Infobox rail line}}
{{Infobox station}}
{{Infobox German railway vehicle}}
– for direct translations of articles copied from the German Wikipedia, pending conversion to{{Infobox train}}
or{{Infobox locomotive}}
format