Jump to content

Wikipedia:WikiProject Trains/Article templates

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Splash (talk | contribs) at 00:36, 1 September 2005 (Railroads: orphan tfd). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.


General messages

What to type What it makes Notes
{{Rail-stub}}
talk
Adds the article to Category:Rail stubs
{{Loco-stub}}
talk
Adds the article to Category:Locomotive stubs
{{US-rail-stub}}
talk
Template:US-rail-stub Adds the article to Category:US rail stubs
{{UK-depot-stub}}
talk
Template:UK-depot-stub Adds the article to Category:UK railway station stubs
{{US-depot-stub}}
talk
Template:US-depot-stub Adds the article to Category:US train station stubs
{{1922 Locomotive Cyclopedia}}
talk
American Railway Association, (Division V - Mechanical) (1922). Wright, Roy V.; Winter, Charles (eds.). Locomotive Cyclopedia of American Practice (6th ed.). New York, NY: Simmons-Boardman Publishing. OCLC 6201422. Adds the article to Category:1922 Locomotive Cyclopedia
{{bioguide}}
talk
Public Domain This article incorporates public domain material from the Biographical Directory of the United States Congress
{{Year in rail transport}}
talk

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


Four parameters:
  • prev - The previous year number (example uses 2004)
  • curr - The current year number (2005)
  • next - The following year number (2006)
  • decade - The decade to which the current year belongs (2000)

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

{{Future year in rail transport}}
talk
Years in rail transport
Timeline of railway history

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


Four parameters:
  • prev - The previous year number (example uses 2006)
  • curr - The current year number (2007)
  • next - The following year number (2008)
  • decade - The decade to which the current year belongs (2000)

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

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

December 31
January 1
January 2

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


Six parameters:
  • pmonth - The previous date's month (example uses December)
  • 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 (January)
  • nday - The next date's day number (2)

Adds the article to Category:month in rail transport which is a subcategory of Category:Anniversaries in rail transport.

{{North American named trains}}
talk
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
Note: Marks ending in U are for container owners; marks ending in X are not common carriers; marks ending in Z are for trailers without flanged wheels. All other marks are of common-carrier railroads. This template is used as the table of contents for the list of AAR reporting marks.

Article text and infoboxes

Template What it makes Notes
{{Infobox SGRailroad}}
talk
Dakota, Minnesota & Eastern Railroad
Overview
HeadquartersSioux Falls, South Dakota
Reporting markDME
LocaleIowa, Minnesota, Nebraska, South Dakota and Wyoming
Dates of operation1986–present
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: Use logo_filename=No image.png| and railroad_abbr=| if no logo has been uploaded
  • railroad_abbr - The most common abbreviation for the railroad's common name (DM&E)
  • 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)
  • hq_city - The city where the railroad's headquarters are located ([[Sioux Falls, South Dakota]])

Automatically populates the gauge with standard gauge.

{{Infobox Railroad}}
talk
Chicago and Northwestern Railway
File:Chicago and Northwestern Herald.png
Overview
HeadquartersChicago, Illinois
Reporting markCNW, CNWS, CNWZ
LocaleIllinois, Iowa, Kansas, Michigan, Minnesota, Missouri, Nebraska, North Dakota, South Dakota, Wisconsin, and Wyoming
Dates of operation18651995
Technical
Track gauge4 ftin (1435 mm), some 3 ft (914 mm) gauge branch lines
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: Use logo_filename=No image.png| and railroad_abbr=| if no logo has been uploaded
  • 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)
  • 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)
  • hq_city - The city where the railroad's headquarters are located ([[Chicago, Illinois]])
{{Infobox Biography}}
talk
WikiProject Trains/Article templates
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]])
  • dead - whether or not the subject is dead; toggles the appearance of the death information in the infobox (dead; use alive for subjects that have not yet died)
  • date_of_death - The subject's death date ([[June 21]] [[1893]])
  • place_of_death - The subject's death place ([[Palo Alto, California]])
{{Reporting mark}}
talk
(reporting mark 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+12 in) Unfortunately, this cannot be used as a value for the gauge paramater in the {{Railroad}} template.

Common references

Template What it makes
{{MR diesel cyclopedia}}
talk
Hayden, Bob, ed. (1980). Model Railroader Cyclopedia-Volume 2: Diesel Locomotives. Kalmbach Books. ISBN 0-89024-547-9.
{{Marre-diesel-50}}
talk
Marre, Louis A. (1995). Diesel Locomotives: The First 50 Years: A Guide to Diesels Built Before 1972. Railroad Reference Series. Waukesha, Wisconsin: Kalmbach Publishing. ISBN 978-0-89024-258-2.
{{Marre, Pinkepank - Diesel spotters guide}}
talk
Marre, Louis A. & Pinkepank, Jerry A. (1989). The Contemporary Diesel Spotter's Guide. Waukesha, WI: Kalmbach Books. ISBN 0-89024-088-4. LCCN 88083625. OCLC 19959644.
{{Pinkepank diesel spotters guide 2}}
talk
Pinkepank, Jerry A. (1973). The Second Diesel Spotter's Guide. Milwaukee, Wisconsin: Kalmbach Publishing. ISBN 978-0-89024-026-7.
{{White - America's most noteworthy railroaders}}
talk
White, John H. Jr. (Spring 1986). "America's Most Noteworthy Railroaders". Railroad History. 154: 9–15. ISSN 0090-7847. JSTOR 43523785. OCLC 1785797.
{{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: Johns Hopkins University Press. ISBN 0-8018-4404-5. OCLC 26130632.
{{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.

Article footer navigation boxes

Railroads

Template What it makes Notes
{{North America class 1}}
talk
{{US class 2}}
talk
Template:US class 2
{{Canada class 2}}
talk
{{US class 3}}
talk
Template:US class 3
{{NERR}}
talk
{{Fitchburg Railroad}}
talk
{{Britishmainlines}}
talk
{{Britishmainlines}} is about to be deleted. -Splash 00:36, 1 September 2005 (UTC)[reply] Adds the article to Category:British railway lines
{{British heritage railways}}
talk
Template:British heritage railways Adds the article to Category:Heritage railways

Equipment

Template What it makes Notes
{{ALCO diesels}}
talk
Adds the article to Category:ALCO locomotives
{{CLC diesels}}
talk
{{EMD diesels}}
talk
Adds the article to Category:EMD locomotives
{{EMD switchers}}
talk
Template:EMD switchers Adds the article to Category:EMD locomotives
{{EMD GPs}}
talk
Adds the article to Category:EMD locomotives
{{EMD SDs}}
talk
Adds the article to Category:EMD locomotives
{{EMD cab and cowl}}
talk
Adds the article to Category:EMD locomotives
{{EMD misc}}
talk
Adds the article to Category:EMD locomotives
{{FM diesels}}
talk
{{GE diesels}}
talk
Adds the article to Category:GE locomotives
{{MLW diesels}}
talk
{{SNCF locos}}
talk
{{Whyte types}}
talk
{{Freight cars}}
talk
{{Passenger cars}}
talk

People

Template What it makes Notes
{{The Big Four}}
talk
{{Company presidents}}
talk
Template:Company presidents Five parameters:
  • company_name - The company name (example uses the [[Southern Pacific]] Company)
  • start_year - The first year that the article subject was president ([[1890]])
  • end_year - The last year that the article subject was president ([[1900]])
  • predecessor_name - The name of the president before the article subject ([[Leland Stanford]])
  • successor_name - The name of the president after the article subject ([[Charles Hayes]])
{{start box}} talk

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

Preceded by Governors of California
18611863
Succeeded by
Preceded by Presidents of the Southern Pacific Railroad
18681890
Succeeded by
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.

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