Wikipedia:WikiProject Trains/Article templates

From Wikipedia, the free encyclopedia

A number of template messages have been created to standardize and simplify the task of writing and maintaining articles related to WikiProject Trains. This article will present a list of them with any associated parameters and examples from existing articles.


Contents

[edit] General messages

[edit] Talk page messages

What to type What it makes Notes
{{TrainsWikiProject}}
talk
This article is within the scope of WikiProject Trains, an attempt to build a comprehensive and detailed guide to rail transport on Wikipedia. If you would like to participate, you can visit the project page, where you can join the project and/or contribute to the discussion.
See also: WikiProject Trains to do list
NA This page is not an article and does not require a rating on the quality scale. (add assessment comments)
Parameters:
  • class - See Wikipedia:WikiProject Trains/Assessment
  • portaldykdate - The date that the article was used in the "Did you know" section of Portal:Trains
  • portalSAweek - The week and year that the article was used in the "Selected article" section of Portal:Trains
  • portalSIweek - The week and year that the image was used in the "Selected picture" section of Portal:Trains
{{todo, trains}}
talk


To-do
list

Pending tasks for WikiProject Trains/Article templates:

(purge cache –  edit this list)
  • This is a "to do list" that appears within the {{todo, trains}} template's box.
  • Use the "edit this list" link to access and edit the list
  • The list is stored on a /to do subpage of the talk page where {{todo, trains}} is used.
  • If you add the main article to your watchlist, add the to do list to your watchlist too.
See also Wikipedia:WikiProject Trains/Todo
Adds the article to Category:To do, trains

[edit] Headers

What to type What it makes Notes
{{Year in rail transport}}
talk
2004, 2005, 2006
Years in rail transport
2004 in rail transport
2005 in rail transport
2006 in rail transport

This article lists events related to rail transport that occurred in 2005.

One parameter:
  • curr - The current year number (example uses 2005)

The previous year, next year and decade numbers are computed based on the value passed as curr. Adds the article to Category:decade in rail transport and to Category:curr

{{Future year in rail transport}}
talk
 This article or section contains information about scheduled or expected future events.
It may contain information of a speculative nature and the content may change dramatically as the event approaches and more information becomes available.
2008, 2009, 2010

Years in rail transport
2008 in rail transport
2009 in rail transport
2010 in rail transport

This article lists events related to rail transport that are currently scheduled to occur in 2009. Please be aware that the actual dates that these events occur on may differ substantially from what is shown here.

One parameter:
  • curr - The current year number (example uses 2009)

Adds the article to Category:decade in rail transport and to Category:curr

{{Day in rail transport}}
talk
Category:Rail transport timelines

December 31 in rail transport
January 1 in rail transport
January 2 in rail transport

This article lists anniversary events related to rail transport that occurred on January 1.

Seven parameters:
  • pmonth - The previous date's month (example uses December); default is the value of month
  • pday - The previous date's day number (31)
  • month - The current date's month (January)
  • day - The current date's day number (1)
  • nmonth - The next date's month (uses the default value); default is the value of month
  • nday - The next date's day number (2)
  • sortkey - The category sort key (01); default is the value of day

Adds the article to Category:month in rail transport, which is a subcategory of Category:Anniversaries in rail transport, using sortkey as the category sort key.

{{future railway station}}
talk
Current event marker This article or section contains information about a planned or expected future railway station.
It may contain information of a speculative nature and the content may change dramatically as the construction and/or completion of the railway station approaches, and more information becomes available.
Railway station
Adds the article to Cat:Future railway stations
{{future public transportation}}
talk
Current event marker This article or section contains information about a planned or expected public transportation infrastructure.
It may contain information of a speculative nature and the content may change dramatically as the construction and/or completion of the infrastructure approaches, and more information becomes available.
Railway station
Adds the article to Cat:Future public transportation
{{North American named trains}}
talk
List of North American named passenger trains

0-9, A-C, D-H, I-M, N-Z

This template is used as the table of contents for the list of named passenger trains in North America, but it can also be used in the footer of an article about a specific train.
{{Contents - AAR reporting marks}}
talk
List of AAR reporting marks

A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z

Note: Marks ending in U are for container owners; marks ending in X are not railroads; marks ending in Z are for trailers without flanged wheels. All other marks are of railroads.

This template is used as the table of contents for the list of AAR reporting marks.

[edit] Stubs

What to type What it makes Notes
{{Rail-stub}}
talk
Adds the article to Category:Rail stubs

Note: There are many stub templates for articles related to rail transport. A complete list is at Category:Rail stubs. Please use the most appropriate stub template for new articles, deferring to {{Rail-stub}} only when a more specific stub template doesn't exist.

[edit] Article text and infoboxes

Template What it makes Notes
{{Infobox SG rail}}
talk
Dakota, Minnesota & Eastern Railroad
logo
Reporting marks DME
Locale Iowa, Minnesota, Nebraska, South Dakota and Wyoming
Dates of operation 1986 – present
Track gauge ft 8½ in (1435 mm) (standard gauge)
Headquarters Sioux Falls, South Dakota
Parameters:
  • railroad_name - The legal (official) name of the railroad (example shown uses Dakota, Minnesota and Eastern Railroad)
  • logo_filename - The filename of the uploaded image of the most well-known (usually the current) company logo (Dmelogo.JPG); Note: leave blank if no logo has been uploaded. Per Wikipedia policy, if the template is used outside of the main article namespace, do not use a fair use tagged image.
  • logo_size - An optional width for the logo
  • marks - The railroad's official AAR reporting marks (DME)
  • locale - Where the railroad has operated or still does operate ([[Iowa]], [[Minnesota]], [[Nebraska]], [[South Dakota]] and [[Wyoming]])
  • start_year - The year the railroad began operations ([[1986]])
  • end_year - The year the railroad ended operations (present)
  • successor_line - The railroad(s) which absorbed this railroad or took over operation from it. Use abandoned if ended without merger; omit if still in operation.
  • old_gauge - An optional addendum to the gauge (blank here)
  • hq_city - The city where the railroad's headquarters are located ([[Sioux Falls, South Dakota]])

Automatically populates the gauge with standard gauge.

{{Infobox rail}}
talk
Chicago and Northwestern Railway
logo
Reporting marks CNW, CNWS, CNWZ
Locale Illinois, Iowa, Kansas, Michigan, Minnesota, Missouri, Nebraska, North Dakota, South Dakota, Wisconsin, and Wyoming
Dates of operation 18651995
Successor line Union Pacific
Track gauge 4 ftin (1435 mm), some 3 ft (914 mm) gauge branch lines
Headquarters Chicago, Illinois
Parameters:
  • railroad_name - The legal (official) name of the railroad (example shown uses Chicago and Northwestern Railway)
  • logo_filename - The filename of the uploaded image of the most well-known (usually the current) company logo (Chicago_and_Northwestern_Herald.png); Note: leave blank if no logo has been uploaded. Per Wikipedia policy, if the template is used outside of the main article namespace, do not use a fair use tagged image.
  • logo_size - An optional width for the logo
  • railroad_abbr - The most common abbreviation for the railroad's common name (C&NW)
  • marks - The railroad's official AAR reporting marks (CNW, CNWS, CNWZ)
  • locale - Where the railroad has operated or still does operate ([[Illinois]], [[Iowa]], [[Kansas]], [[Michigan]], [[Minnesota]], [[Missouri]], [[Nebraska]], [[North Dakota]], [[South Dakota]], [[Wisconsin]], and [[Wyoming]])
  • start_year - The year the railroad began operations ([[1865]])
  • end_year - The year the railroad ended operations ([[1995]])
  • successor_line - The railroad(s) which absorbed this railroad or took over operation from it ([[Union Pacific Railroad|Union Pacific]]). Use abandoned if ended without merger; omit if still in operation.
  • gauge - The track gauge(s) used by the railroad (4 [[foot (unit of length)|ft]] 8½ [[inch|in]] (1435 [[millimetre|mm]]), some 3 ft (914 mm) gauge branch lines) - note that this example can also be handled by {{infobox SG rail}}
  • hq_city - The city where the railroad's headquarters are located ([[Chicago, Illinois]])
{{Infobox Biography}}
talk
Leland Stanford
Born March 9, 1824
Watervliet, New York
Died June 21, 1893
Palo Alto, California
Parameters:
  • subject_name - The name of the article subject (example shown uses Leland Stanford)
  • image_name - The filename of an uploaded image of the subject (Lelandstanfordsmall.jpg)
  • image_caption - A caption for the image, usually noting at what age the subject is when the image was created (the example shown does not include a caption, but specifies the parameter as image_caption=|)
  • date_of_birth - The subject's birth date ([[March 9]] [[1824]])
  • place_of_birth - The subject's birth place ([[Watervliet, New York]])
  • date_of_death - The subject's death date ([[June 21]] [[1893]])
  • place_of_death - The subject's death place ([[Palo Alto, California]])
{{Infobox Locomotive}}
talk
John Bull
John Bull
The John Bull, c. 1893.
Power type Steam
Builder Robert Stephenson and Company
Build date 1831
Configuration 4-2-0 (although built by Stephenson as an 0-4-0)
UIC classification 1'1A (built as B)
Gauge 1,435 mm (4 ft 8½ in)
Driver size 4 ft 6 in (1.37 m) diameter
Wheelbase 4 ft 11 in (1.4 m) between driving axles
Frame size 14 ft 9 in (4.5 m) length x 6 ft 3 in (1.9 m) width
Boiler 2 ft 6 in (0.76 m) diameter x 6 ft 9 in (2.06 m) length
Fire grate area 10.07 ft² (0.935 )
Cylinder size 9 in (22.86 cm) diameter x 20 in (50.8 cm) stroke
Career Camden and Amboy Railroad,
Pennsylvania Railroad (initial preservation)
Number 1
Official name Stevens (after C&A president Robert L. Stevens)
Delivered September 4, 1831
First run September 15, 1831
Retired 1866
Restored September 15, 1981
Current owner Smithsonian Institution
Disposition Static display in Washington, D.C.
Two required parameters:
  • name - The name of the article subject (example uses John Bull)
  • powertype - The major power type of the locomotive (Steam)

Many more parameters, all listed and described on the talk page.

{{Infobox DB station}}
talk
Hannover Hbf
Location
State Lower Saxony
Place Hannover
Ernst-August-Platz 1
30179 Hannover
Operations
DS100 code HH
Station code 2545
Category 1
Platforms in use 12
Annual entry/exit 91.25 million
Deutsche Bahn - Stations in Germany

BW BY BE BR HB HH HE MV NI NW RP SL SN ST SH TH  

The template requires two parameters:
  • name - Name of the station
  • ds100 - Two- to five-letter station code
  • local - Town or municipality the station is located in.

For full documentation, see the talk page.

{{Reporting mark}}
talk
(AAR reporting marks BNSF) This template has exactly one unnamed parameter. It is the reporting mark to display (the example shown uses BNSF).
{{Standard gauge}}
talk
1,435 mm (4 ft 8½ in)
{{1ft6in}}
talk
1 ft 6 in (457 mm) Useful for narrow gauge lines
{{1ft11.5in}}
talk
1 ft 1112 in (597 mm) Useful for narrow gauge lines
{{2ft}}
talk
2 ft (610 mm) Useful for narrow gauge lines
{{2ft3in}}
talk
2 ft 3 in (686 mm) Useful for narrow gauge lines
{{2ft6in}}
talk
2 ft 6 in (762 mm) Useful for narrow gauge lines
{{3ft}}
talk
3 ft (914 mm) Useful for narrow gauge lines
{{3ft6in}}
talk
3 ft 6 in (1067 mm) Useful for narrow gauge lines
{{4ft}}
talk
4 ft (1219 mm) Useful for narrow gauge lines
{{4ft6in}}
talk
4 ft 6 in (1371 mm) Useful for narrow gauge lines

[edit] Common references

These should generally be substituted using subst: rather than transcluded.

Template What it makes Notes
{{subst:1922 Locomotive Cyclopedia}}
talk
This article incorporates data from the 1922 Locomotive Cyclopedia of American Practice Adds the article to Category:1922 Locomotive Cyclopedia
{{subst:bioguide}}
talk
This article incorporates facts obtained from the public domain Biographical Directory of the United States Congress.
{{subst:MR diesel cyclopedia}}
talk
Hayden, Bob (Ed.) (1980). Model Railroader Cyclopedia-Volume 2: Diesel Locomotives. Kalmbach Books. ISBN 0-89024-547-9. 
{{subst:Marre-diesel-50}}
talk
Marre, Louis A. (1995). Diesel Locomotives: The First 50 Years. Kalmbach. ISBN 0890242585. 
{{subst:Marre, Pinkepank - Diesel spotters guide}}
talk
Marre, Louis A., and Pinkepank, Jerry A. (1989). The Contemporary Diesel Spotter's Guide. Waukesha, WI: Kalmbach Books. ISBN 0-89026-088-4. 
{{subst:Pinkepank diesel spotters guide 2}}
talk
Pinkepank, Jerry A. (1973). The Second Diesel Spotter's Guide. Milwaukee, WI: Kalmbach Publishing Co.. ISBN 0-89024-026-4. 
{{subst:White - America's most noteworthy railroaders}}
talk
White, John H., Jr., (Spring 1986), America's most noteworthy railroaders, Railroad History, The Railway and Locomotive Historical Society, 154, p. 9-15.
{{subst:White - American railroad freight car}}
talk
White, John H., Jr. (1993). The American railroad freight car: From the wood-car era to the coming of steel. Baltimore and London: Johns Hopkins University Press. ISBN 0-8018-4404-5. 
{{subst:White - History of the American locomotive}}
talk
White, John H., Jr. (1968). A history of the American locomotive; its development: 1830-1880. New York, NY: Dover Publications. ISBN 0-486-23818-0. 
{{subst:Hilton Interurbans}}
talk
Hilton, George W. & Due, John F. (1960, 2000). The Electric Interurban Railways in America. Stanford, California: Stanford University Press. ISBN 0-8047-4014-3. 
{{subst:Hilton Narrow Gauge}}
talk
Hilton, George W. & Due, John F. (1960, 2000). The Electric Interurban Railways in America. Stanford, California: Stanford University Press. ISBN 0-8047-4014-3. 

[edit] Article footer navigation boxes

[edit] Railroads and equipment leasing/operating companies

Template What it makes Notes
{{North America class 1}}
talk

{{US class 2}}
talk
{{Canada class 2}}
talk

Current (operating) regional railways of Canada
AMT, CRC, GOT, HBRY, MMA, ONT, QNSL, TRT, BCVX, WPY

Former or fallen flag regional railways of Canada
AC, BCOL, NAR


Current (operating) short line railways of Canada
ARND, CBNS, ENR, ETR, GEXR, GRS, GWR, NBEC, NBSR, OBRY, PCHR, QC, QGRY, SLQ, STER, SRY, TRRY, WABL, WHRC

Former or fallen flag short line railways of Canada
MKNR, SAR, THB

{{US class 3}}
talk
{{NERR}}
talk
Major railroad systems in New England, pre-1930s
Bangor and Aroostook - Boston and Albany (NYC) - Boston and Maine - Canadian Pacific - Central Vermont (CN) - Grand Trunk (CN) - Maine Central - New Haven - Rutland
{{Fitchburg Railroad}}
talk
Fitchburg Railroad branches
BostonFitchburg Watertown – Marlboro – Greenville – Milford
FitchburgGreenfield Vermont and Massachusetts Railroad: Ashburnham – Cheshire – Peterboro – Boston, Barre and Gardner – Turners Falls
west from Greenfield Troy and Greenfield Railroad: Southern VermontTroy and Boston – Bennington
Boston, Hoosac Tunnel and Western Railway: Saratoga Springs/Schuylerville
temporary branches Harvard – Lexington
{{US railroad lists}}
talk

List of United States railroads by political division Flag of the United States
Alabama · Alaska · Arizona · Arkansas · California · Colorado · Connecticut · Delaware · Florida · Georgia · Hawaii · Idaho · Illinois · Indiana · Iowa · Kansas · Kentucky · Louisiana · Maine · Maryland · Massachusetts · Michigan · Minnesota · Mississippi · Missouri · Montana · Nebraska · Nevada · New Hampshire · New Jersey · New Mexico · New York · North Carolina · North Dakota · Ohio · Oklahoma · Oregon · Pennsylvania · Rhode Island · South Carolina · South Dakota · Tennessee · Texas · Utah · Vermont · Virginia · Washington · West Virginia · Wisconsin · Wyoming
District of Columbia · Puerto Rico

See also: List of defunct United States railroads
Replaces the use of {{US links}}
{{Refrigerator Car Lines of the United States}}
talk

Major Private Refrigerator Car Lines of the United States
American Refrigerator Transit Co. · Armour Refrigerator Line · Burlington Refrigerator Express ·
Fruit Growers Express · General American Transportation Corporation · Hormel and Co. · Merchants Despatch · North Western Refrigerator Line · Pacific Fruit Express · Railway Express Agency ·
Santa Fe Refrigerator Despatch · St. Louis Refrigerator Car Co. · Swift Refrigerator Line · Tropicana Products ·
Union Refrigerator Transit Line · Western Fruit Express · Western Refrigerator Line
{{PKP Group companies}}
talk
{{SKM stops}}
talk
 
SKM stops
Gdańsk - Wejherowo line
Gdańsk Główny | Gdańsk Stocznia | Gdańsk Politechnika | Gdańsk Wrzeszcz | Gdańsk Zaspa | Gdańsk Przymorze-Uniwersytet | Gdańsk Oliwa | Gdańsk Żabianka | Sopot Wyścigi | Sopot | Sopot Kamienny Potok | Gdynia Orłowo | Gdynia Redłowo | Gdynia Wzgórze św. Maksymiliana | Gdynia Główna Osobowa | Gdynia Stocznia | Gdynia Grabówek | Gdynia Leszczynki | Gdynia Chylonia | Gdynia Cisowa | Rumia Janowo | Rumia | Reda | Reda Pieleszewo | Wejherowo Śmiechowo | Wejherowo Nanice | Wejherowo

Gdańsk - Gdańsk Nowy Port line
Gdańsk Główny | Gdańsk Stocznia | Gdańsk Nowe Szkoty | Gdańsk Kolonia | Gdańsk Zaspa Towarowa | Gdańsk Brzeźno | Gdańsk Nowy Port

[edit] Equipment

Template What it makes Notes
{{ALCO diesels}}
talk
{{CLC diesels}}
talk
{{EMD diesels}}
talk
Adds the article to Category:EMD locomotives
{{EMD switchers}}
talk
{{EMD GPs}}
talk
{{EMD SDs}}
talk
{{EMD cab and cowl}}
talk

Diesel cab and cowl locomotives built by GM-EMD
Cab units
(F- & E-units):
FT, F2, F3, F7, FP7, F9, FP9, FL9, TA, EA/EB, E1, E2, E3, E4, E5, E6, E7, E8, E9, AB6
Cowl units: F45, FP45, F40C, F40PH, F40PH-2, F40PH-2C, F40PH-2M, SDP40F, SD40-2F, SD50F, F59PH, F59PHI, SD60F, F69PHAC
See also: List of GM-EMD locomotives
{{EMD misc}}
talk
{{FM diesels}}
talk
{{GE diesels}}
talk
{{German electric locomotives}}
{{German EMUs}}
{{MLW diesels}}
talk

Diesel and gas turbine locomotives built by MLW
Early switchers: S-2, S-3, S-4, S-7, S-10, S-11, S-12, S-13
FP series: FA-1, FB-1, FA-2, FB-2, FPA-2, FPB-2, FPA-4, FPB-4
RS series: RS-2, RS-3, RS-10, RS-18, RS-23
RSC series: RSC-3, RSC-13, RSC-24
RSD series: RSD-17, RSD-35
Century series: C-424, C-630, M-630, M-636, M-640
Other designs: DL500S, DL535E, M420, TURBO, LRC-2, LRC-3, E-1800
Bombardier designs: HR-412, HR616
{{SNCF locos}}
talk
{{Whyte types}}
talk

{{Freight cars}}
talk

Rail transport freight equipment
Enclosed equipment: Autorack · Boxcar · Coil car · Container · Covered hopper · Refrigerator car · Roadrailer · Stock car · Tank car
Open equipment: Flatcar · Gondola · Hopper car · Schnabel car
Non-revenue equipment: Caboose
{{Passenger cars}}
talk
{{SP GS locomotives}}
talk
{{SP cab forward locomotives}}
talk
{{PKP locomotives}}
talk
{{UP historical equipment}}
talk

[edit] People

Template What it makes Notes
{{The Big Four}}
talk
Central Pacific Railroad | The Big Four Charles Crocker | Mark Hopkins | Collis P. Huntington | Leland Stanford
v  d  e
Prints as a one-line high box on most articles
{{start box}} talk

{{succession box}} talk
{{end box}} talk

Preceded by
John G. Downey
Governors of California
18611863
Succeeded by
Frederick Low
Preceded by
Timothy Guy Phelps
Presidents of the Southern Pacific Railroad
18681890
Succeeded by
Collis P. Huntington
These three templates can be used to make up a multiple row list of navigation boxes based on office succession. {{start box}} declares the table, {{succession box}} declares a row of data, and {{end box}} closes the table.

Succession box template takes four parameters:

  • before - The predecessor name (example uses [[John G. Downey]] in the first box, [[Timothy Guy Phelps]] in the second)
  • title - The subject's title ([[List of Governors of California|Governors of California]] and Presidents of the [[Southern Pacific Railroad]])
  • years - The subject's term in that title ([[1861]]–[[1863]] and [[1868]]–[[1890]])
  • after - The successor name ([[Frederick Low]] and [[Collis P. Huntington]])

Note that this set of tempaltes can be used to describe entities as well as people. For example, these templates are used on articles where the railroad was awarded either Short Line Railroad of the Year or Regional Railroad of the Year. See Wisconsin and Southern Railroad for an example.

[edit] Equipment manufacturers

Template What it makes Notes
{{ACF preds}}
talk

Railroad car manufacturing predecessors of American Car and Foundry Company
1899 merger: Buffalo · Ensign · Jackson & Woodin · Michigan-Peninsular · Minerva · Missouri · Murray Dougal · Niagara · Ohio Falls · St. Charles · Terre Haute · Union · Wells & French
Later acquisitions: Bloomsburg (1899) · Jackson & Sharp (1901) · Common Sense Bolster (1901) · Southern (1904) · ICF (1905) · Indianapolis (1905) · Pacific (1924) · Brill (1926)
{{ALCO preds}}
talk

[edit] Category templates

Template What it makes Notes
{{lived}}
talk
[[Category:b births|key]][[Category:d deaths|key]] Three parameters:
  • b - Birth year
  • d - Death year
  • key - Category sort key