Template:Infobox train/doc: Difference between revisions
Jump to navigation
Jump to search
en>Redrose64 (→top: add some modules) |
m (1 revision imported) |
Latest revision as of 17:00, 27 March 2019
This is a documentation subpage for Template:Infobox train. It contains usage information, categories and other content that is not part of the original template page. |
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.
name | |
---|---|
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 |
Refurbishment | 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 |
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 |
Traction motors | traction motors |
Power output | poweroutput |
Tractive effort | tractiveeffort |
Transmission | transmission |
Acceleration | acceleration |
Deceleration | deceleration |
Auxiliaries | aux |
Power supply | powersupply |
Train heating | hvac |
Electric system(s) | electricsystem |
Current collection method | 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 | |
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 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 = }} |
- Use of one or more unrecognised parameters will place the page in Category:Pages using Infobox train with unknown parameters (1).
Tracking category
Supporting templates
See also
{{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