Jump to content

User:Dp67/Templates/Train Car

From Wikipedia, the free encyclopedia



Please enter a name
{{{name}}}Category:Rail transport articles needing images
Please add a caption for this image
[[Image:{{{image2}}}|{{{image2size}}}px|{{{name2}}}]]
Please add a caption for this image
Power type Missing power type
Last updated{{{updated}}}
Multiple unit{{{multiunit}}}
Designer{{{designer}}}
Builder{{{builder}}}
Serial number{{{serialnumber}}}
Model{{{buildmodel}}}
Type of service{{{service}}}
Build date{{{builddate}}}
Total production{{{totalproduction}}}
Gauge{{{gauge}}}
Trucks{{{trucks}}}
Bogies{{{bogies}}}
Wheelbase{{{wheelbase}}}
Length{{{length}}}
Width{{{width}}}
Height{{{height}}}
Axle load{{{axleload}}}
Total weight{{{weight}}}
Electric system(s){{{electricsystem}}}
Collection method{{{collectionmethod}}}
Generator{{{generator}}}
Top speed{{{topspeed}}}
Train brakes{{{trainbrakes}}}
Safety systems{{{safety}}}
Career{{{railroad}}}
Number(s){{{roadnumber}}}
Official name{{{officialname}}}
Nickname(s){{{nicknames}}}
Locale{{{locale}}}
WikiProject Trains
{{Infobox Railcar Auto}}

Overview

[edit]

This is a modified version of the {{Infobox Locomotive}} template. Several new features have been added such as auto-linking, default values for common fields that may be over ridden if another value is entered. Several optional features such as a secondary image, railroad logo and manufactures logo have also been added.

Usage

[edit]

Working examples can be here This template has a large number of parameters, but only two are required:

  • name - The name that will appear above the top line of the infobox. If no name is provided "Please enter a name" will be displayed.

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

  • multiunit - Multiple unit for EMU and DMU trainsets. Does not display if option is not chosen. (Syntax: multiunit = <emu/dmu>)
  • multipleunit - <Multi-unit type>, if different than above. No auto-linking, link must be supplied if desired. Does not display if option is not chosen.
  • image - The filename for the primary infobox image. If no image is provided the default image will be added. Also, if no primary image is added the article will automatically be added to Category:Rail transport articles needing images. When a primary image is provided, or added the article will automatically be removed from this category.
  • imagesize - The size of the image in pixels (as in imagesize=200|), default value is 200; to use the image's actual size, specify imagesize as a blank value (as in imagesize=|). Setting image size above 300px are not recommended.
  • caption - The image caption that will be displayed

Optional secondary image added in new Infobox version.

  • image2 - The filename for the sedcondary infobox image. The secondary image is optional added for convenience. It is the editors choice how to use this option. (Perhaps e.g. cab view of the locomotive, different perspective, etc.)
  • image2size - The size of the image in pixels (as in imagesize=200|), default value is 200; to use the image's actual size, specify imagesize as a blank value (as in imagesize=|). Setting image size above 300px are not recommended.
  • caption2 - The image caption that will be displayed. If the image2 option is not used, this caption will not be displayed.
  • designer - The name of the locomotive's designer


Enter one of the following builder options and the template will automatically provide a link to that builders article, if available Also included in this field is a builders logo (when logo is available). If the builder is not listed, please define the builder and/or link. Entries are not case-sensitive, (e.g. both BLW and blw should work.)


The following options may be ommitted and the field will not be displayed unless otherwise noted.
  • serialnumber - The locomotive's serial number
  • buildmodel - The builder's model number
  • service - Type of service (e.g. "switcher/shunter", "road switcher", "passenger", "general purpose", "special duty", etc.)
  • builddate - The date(s) that the car (or carmodel) was built
  • totalproduction - The total number of locomotives of the given class that were built
  • gauge - The rail gauges on which the car operated. Note: If no value is given standard gauge, 4 ft 8+12 in (1,435 mm) is assumed.
  • trucks - The type of trucks (U.S.)
  • bogies - The type of bogies
  • wheelbase - The wheelbase
  • length - The locomotive's total length
  • width - The locomotive's total width
  • height - The locomotive's total height
  • axleload - max. axle load
  • weight - The locomotive's total weight
  • electricsystem - The electric system(s) under which the car operates
  • collectionmethod - The car's (electrical) current collection method
  • generator - The car's generator type/model
  • topspeed - The locomotive's top speed
  • trainbrakes - The type of train brake system installed. Note: if no value is given, by default this value is "26-L air", the most common braking system.
  • safety - The safety systems installed (auto train stop, cab signaling, etc)
  • railroad - The railroad(s) where the car operated (for articles about individual locomotives and not generic car models); creates a colored heading line like the powertype parameter
  • roadnumber - The operating number(s) assigned by the railroad/owner(s)
  • officialname - The official name(s) assigned by the railroad, and who or what the car is named after
  • nicknames - Nicknames given to the locomotive
  • locale - The locale where the car was operated