This template is used to denote the Whyte notation of locomotives, especially steam locomotives. It automatically creates wikilinks for most common wheel arrangements

Usage

edit

{{Whyte|arrangement|suffix|second part of suffix (if applicable)}}

Examples

edit
  • {{Whyte|4-6-2}} produces 4-6-2
  • {{Whyte|0-6-0|PT}} produces 0-6-0PT
  • {{Whyte|0-6-0|T|T}} produces 0-6-0T+T
  • {{Whyte|0-8-2|T|R}} produces 0-8-2TR

Index of Suffixes

edit
First part of suffix
Letter (s) Meaning (links to)
Input Output
TT Tender-tank locomotive
Tank T Tank locomotive
T Side tank locomotive
PT Pannier tank locomotive
ST Saddle tank locomotive
IST Inverted saddle tank locomotive
WT Well tank locomotive
BT Back tank locomotive / Rear tank locomotive
Rear RT
C Crane tank locomotive
CT
VB Vertical boilered locomotive
VBT
F Fireless locomotive
R Railcar
Rack R Rack locomotive
RT
P Petrol locomotive
PM Petrol-mechanical locomotive
PE Petrol-electric locomotive
D Diesel locomotive
DM Diesel–mechanical locomotive
DE Diesel–electric locomotive
DH Diesel–hydraulic locomotive
BE Battery-electric locomotive
OE Overhead-electric locomotive
CA Compressed-air locomotive
G Geared steam locomotive|
Second part of suffix
Letter (s) Meaning (links to)
Input Output
F Fireless locomotive
G Geared steam locomotive
R Railcar
C Crane tank
T +Tender (rail) (as in T|T which renders as T+T, for denoting tender-tank locomotives)


TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Whyte in articles based on its TemplateData.

TemplateData for Whyte

Template to format and link locomotive wheel arrangements in Whyte notation.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Wheel arrangement1

wheel arrangement in Whyte notation.

Example
4-6-2, 4w, 6w, 8w
Linerequired
Suffix2

suffix to wheel arrangement

Example
T, TT, PT, ST, IST, WT, BT, RT, CT, VB, VBT, F, R, P, PM, PE, D, DM, DE, DH, BE, OE, CA, G
Lineoptional
Additional suffix3

Second additinal suffix

Example
F, G, R, C, T
Lineoptional