Template:Infobox Locomotive Model
![]() |
ATTENTION! This template was designed for use with Model locomotives. If you are looking for a template for real locomotives use {{Infobox Locomotive}} |
![]() 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 | {{{update}}} |
Multiple unit | {{{multiunit}}} |
Service class | {{{serviceclass}}} |
Type of service | {{{service}}} |
Model builder | {{{modelbuilder}}} |
Designed after | {{{buildmodel}}} |
Building partner | {{{builderother}}} |
Serial number | {{{serialnumber}}} |
Model | {{{buildmodel}}} |
Model build date | {{{modeldate}}} |
Era | {{{era}}} |
Total production | {{{totalproduction}}} |
Model production | {{{modelproduction}}} |
Configuration | {{{whytetype}}} |
AAR wheel arr. | {{{aarwheels}}} |
UIC classification | {{{uicclass}}} |
Scale | {{{scale}}} |
Gauge | {{{gauge}}} |
Trucks | {{{trucks}}} |
Bogies | {{{bogie}}} |
Length | {{{length}}} |
Width | {{{width}}} |
Height | {{{height}}} |
Career | {{{railway}}} |
Class | {{{railwayclass}}} |
Number in class | {{{numinclass}}} |
Number(s) | {{{roadnumber}}} |
Official name | {{{officialname}}} |
Nicknames | {{{nicknames}}} |
Location | {{{location}}} |
Model Railways of the UK {{Infobox Locomotive Model}} |
Contents
Overview
This is a modified version of the {{Infobox Locomotive}} template. Designed specifically for model locomotives. Several features have been added specifically for models. This template also includes such features 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, service type, locomotive type, etc. Categories are automatically added by locomotive builder, aar wheel type. You no longer need to add those categories to the article, it is automatically done for you.
- A note on the auto-linking features of this template.
The auto-linking features of this template are designed for ease of use. However, if you choose you may enter your own value. Any value you add to the available options that the template does not recognize will override the preprogrammed variables and print your customized text.
Usage
This template has a large number of parameters, but only two are required:
Required fields
- name - The name that will appear above the top line of the infobox. This is a required field, if no name is provided "Please enter a name" will be displayed.
- powertype - The type of power that the original locomotive employs. This is a required field, if no power type is given, "Missing power type" will be displayed. (e.g. "steam", "diesel", "diesel-electric", "electric", etc.)
Primary image
- 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.
The remaining parameters are as follows:
(in the order that they will appear in the template output)
- update - Optional field to show when the article was last updated.
- multiunit - Multiple unit for EMU and DMU trainsets. Does not display if option is not chosen. (Syntax: multiunit = <emu/dmu>)
- emu - Displays Electric Multiple Unit
- dmu - Displays Diesel Multiple Unit
Service classes
- serviceclass - Type of locomotive the model represents, a unit, b unit, slug, control cab, etc.This is an auto-linking section linking to the related article. (Syntax: serviceclass = <type of loco>)
- a unit - an A unit a fully equipped Locomotive, drivable by itself, or may be part of an MU.
- b unit - a B unit is similar to a locomotive in the fact that it has an engine (prime mover) and traction motors. However, it lacks a control cab and cannot be driven on it's own. It must be connected to an "A unit".
- cab - a fully equipped Locomotive also known as an A unit
- control - a Control cab, a vehicle that may resemble a locomotive may or may not contain traction motors by itself, it is non-drivable. Used to control a fully equipped locomotive. More often used in passenger service, seldom used in freight service.
- slug - a Slug, a diesel-electric locomotive "Booster" contains no cab and no engine (prime mover) of its own. Its traction motors are powered directly from the master unit. Or "Mother" locomotive.
- service - Type of service the locomotive was originally designed for. This is an auto-linking section linking to the related article when available. (Syntax: service = <type of loco>)
Builder
- 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 automatic addition to that locomotive into the appropriate category. You no longer need to add the builders category in the article. If the builder is not listed, you may enter your own, or use "builderother" You may omit this option if a selection from the list is used, or it may be used as a second builder in a partnership. However; a link if desired, must be provided since there is no auto linking on this feature. Links will be added as the articles become available.
- modelbuilder - The name of the Model designer (Syntax: modelbuilder = <builder code>)
- hornby - Hornby
- Lima - Lima
- bachmann - Bachmann
- dapol - Dapol
- graham - Graham Farish
- vitrains - ViTrains
- peco - Peco
- woodland - Woodland Scenics
- gaugemaster - Gaugemaster
- lionel - Lionel
- american - American Flyer
- This section defines the original builder in which the locomotive is modeled after.
- designafter - Locomotive this Model was designed after (Syntax: designafter = <builder code>)
- alco - American Locomotive Company (ALCO) is displayed (U.S.)
- blw - Baldwin Locomotive Works (BLW) is displayed (U.S.)
- bt - Bombardier Transportation (BT) is displayed (CA)
- clc - Canadian Locomotive Company (CLC) is displayed (CA)
- dlw - Diesel Locomotive Works (DLW) is displayed (India)
- emd - Electro-Motive Diesel (EMD) is displayed (U.S.)
- fm - Fairbanks-Morse (FM) is displayed (U.S.)
- ge - General Electric (GE) is displayed (U.S.)
- gmd - General Motors Diesel (GMD) is displayed (CA)
- gm-emd - Electro-Motive Division (GM-EMD) is displayed (U.S.)
- hamilton - Baldwin-Lima-Hamilton (BLH) is displayed (U.S.)
- lima - Lima Locomotive Works (LLW) is displayed (U.S.)
- mlw - Montreal Locomotive Works (MLW) is displayed (CA)
- rpt - RailPower Technologies (RPT) is displayed (CA)
- builderother - <builder name/link> Enter a manufacturer name and/or link.
- The following options may be omitted and the field will not be displayed unless otherwise noted.
- serialnumber - The locomotive's serial number
- buildmodel - The orignal builder's Model number
- builddate - The date(s) that the locomotive was built
- modeldate - The date(s) that the Model was built
- totalproduction - The total number of locomotives of the given class that were built
- modelproduction - The total number of models of the given class that were built
- whytetype - The wheel arrangement in Whyte notation (Steam locomotive)
Wheel arrangment auto-linking
- Auto-linking for AAR wheel arrangement (U.S.), (diesel, diesel-electric or electric) enter one of the following if this field is not provided a default will not be displayed. Entries are not case-sensitive, (e.g. both A1A-A1A and a1a-a1a will work.) AAR types added will automatically add that locomotive to the appropriate category.
- arrwheels - (see list below) (Syntax: aarwheels = <aar code>)
- A1A-2 - AAR wheel arr., A1A-2 is displayed
- A1A-3 - AAR wheel arr., A1A-3 is displayed
- A1A-A1A - AAR wheel arr., A1A-A1A is displayed (UIR Class (A1A)(A1A) is automatically entered)
- A1A-B+B - AAR wheel arr., A1A-B+B is displayed
- B - AAR wheel arr., B is displayed
- B-1 - AAR wheel arr., B-1 is displayed
- B-2 - AAR wheel arr., B-2 is displayed
- B-A1A - AAR wheel arr., B-A1A is displayed (UIR Class Bo'(A1A) is automatically entered)
- B-B - AAR wheel arr., B-B is displayed (UIR Class B'B' is automatically entered)
- B-B-B - B-B-B is displayed (UIR Class B'B'B' is automatically entered)
- 2-B+B-2 - AAR wheel arr., 2-B+B-2
- B+B-B+B - AAR wheel arr., B+B-B+B is displayed
- B-B+B-B - AAR wheel arr., B-B+B-B is displayed
- B-B+B-B+B-B - AAR wheel arr., B-B+B-B+B-B is displayed
- C - AAR wheel arr., C is displayed
- C-C - AAR wheel arr., C-C is displayed (UIR Class Co'Co' is automatically entered)
- 1-C+C-1 - AAR wheel arr., 1-C+C-1 is displayed
- 2-C+C-2 - AAR wheel arr., 2-C+C-2 is displayedis displayed
- 2-C1+2-C1-B - AAR wheel arr., 2-C1+2-C1-B is displayed
- C-C+C-C - AAR wheel arr., C-C+C-C is displayed
- C+C-C+C - AAR wheel arr., C+C-C+C is displayed
- 2-D-2 - AAR wheel arr., 2-D-2 is displayed
- D-D - AAR wheel arr., D-D is displayed
- 2-D+D-2 - AAR wheel arr., 2-D+D-2 is displayed
- B-D+D-B - AAR wheel arr., B-D+D-B is displayed
- 1B-D+D-B1 - AAR wheel arr., 1B-D+D-B1 is displayed
- aarother = <custom value> is displayed. Omit this option if selection above is used or you may it use as a secondary option.
- uicclass - The UIC classification (European wheel arrangement) (see list below) (Syntax: uicclass = <uic code>)
- (a1a)(a1a) - (A1A)(A1A) (A1A-A1A) is displayed
- bb - BB is displayed
- b - B (B) is displayed
- b'b' - B'B' (B-B) is displayed
- bo'(A1A) = B'(A1A) (B-A1A) is displayed
- bo'bo' - Bo'Bo' is displayed
- bo'bo'bo' - Bo'Bo'Bo' is displayed
- c'c' - C'C' is displayed
- Co'Co' - Co'Co' (C-C) is displayed
- d - D is displayed
- 1'd1' - 1'D1' is displayed
Technical specifications
- scale - The Model scale in which the locomotive is designed. (Syntax: scale = <scale>)
- gauge - The rail gauges on which the original locomotive operated. Note: If no value is given standard gauge, 4 ft 8½ in (1435 mm) is assumed.
- railway - The railway(s) where the locomotive operated (for articles about individual locomotives and not generic locomotive models); creates a colored heading line like the powertype parameter
- railwayclass - The class designation assigned by the operating railway
- numinclass - The number of locomotives in the same railway class
- roadnumber - The operating number(s) assigned by the railway
- officialname - The official name(s) assigned by the railway, and who or what the locomotive is named after
- nicknames - Nicknames given to the locomotive
- location - The primary location where the locomotive originally operated