Jump to content

Template:Whyte/doc

From Alfawiki

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

Usage

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

Examples

  • {{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

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

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

<templatedata> { "params": { "1": { "label": "Wheel arrangement", "description": "wheel arrangement in Whyte notation.", "example": "4-6-2, 4w, 6w, 8w", "type": "line", "required": true }, "2": { "label": "Suffix", "description": "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", "type": "line" }, "3": { "label": "Additional suffix", "description": "Second additional suffix", "example": "F, G, R, C, T", "type": "line" } }, "description": "Template to format and link locomotive wheel arrangements in Whyte notation.", "format": "inline" } </templatedata>