Template:Whyte/sandbox
Appearance
This is the template sandbox page for Template:Whyte (diff). See also the companion subpage for test cases. |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wheel arrangement | 1 | wheel arrangement in Whyte notation.
| Line | required |
Suffix | 2 | suffix to wheel arrangement
| Line | optional |
Additional suffix | 3 | Second additinal suffix
| Line | optional |