Wikipedia:WikiProject Trains/Article templates
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
[edit]Talk page messages
[edit]What to type | What it makes | Notes | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{WikiProject Trains}} talk |
|
Parameters:
| |||||||||||||
{{todo, trains}} talk |
|
Adds the article to Category:To do, trains |
Headers
[edit]What to type | What it makes | Notes | |||
---|---|---|---|---|---|
{{Year in rail transport}} talk |
This article lists events related to rail transport that occurred in 2005.
|
One parameter:
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 lists events related to rail transport that are currently scheduled to occur in 2009. Please be aware that the actual dates on which these events occur may differ substantially from what is shown here.
|
Two parameters:
Adds the article to Category:Future events, Category:decade in rail transport and to Category:curr | |||
{{Day in rail transport}} talk |
This article lists anniversary events related to rail transport that occurred on January 1.
|
Seven parameters:
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.
| |||
{{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 |
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. | Note: Marks ending in U are forThis template is used as the table of contents for the list of reporting marks. |
Stubs
[edit]What to type | What it makes | Notes |
---|---|---|
{{Rail-transport-stub}} talk |
Adds the article to Category:Rail transport stubs |
Note: There are many stub templates for articles related to rail transport. A complete list is at Category:Rail transport stubs. Please use the most appropriate stub template for new articles, deferring to {{Rail-transport-stub}} only when a more specific stub template doesn't exist.
Article text and infoboxes
[edit]Template | What it makes | Notes | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox rail}} talk |
|
Parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox person}} talk |
|
Parameters:
There are many more parameters available; see the template documentation for a complete list. | ||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox locomotive}} talk |
|
Two required parameters:
Many more parameters, all listed and described on the talk page. | ||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox station}} talk |
|
The template requires two parameters:
For full documentation, see the talk page. | ||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox GB station}} talk |
|
The template requires five parameters:
For full documentation, see the talk page. | ||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox UK disused station}} talk |
|
The template requires three parameters:
For full documentation, see the talk page. This template has superseded {{Infobox UK disused station}}. | ||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox Train}} talk |
|
See the template page for full list of parameters. | ||||||||||||||||||||||||||||||||||||||||||||||
{{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). | ||||||||||||||||||||||||||||||||||||||||||||||
{{Track gauge}} talk |
4 ft 8+1⁄2 in (1,435 mm) (for param=ussg) | A standardized template for expressing railway track gauges |
Common references
[edit]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 | |
{{subst:bioguide}} talk |
This article incorporates public domain material from the 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: A Guide to Diesels Built Before 1972. Railroad Reference Series. Waukesha, Wisconsin: Kalmbach Publishing. ISBN 978-0-89024-258-2. | |
{{subst: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. | |
{{subst: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. | |
{{subst: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. | |
{{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: Johns Hopkins University Press. ISBN 0-8018-4404-5. OCLC 26130632. | |
{{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 Fitzgerald (1960). The Electric Interurban Railways in America. Stanford, CA: Stanford University Press. ISBN 978-0-8047-4014-2. OCLC 237973. | |
{{subst:Hilton Narrow Gauge}} talk |
Hilton, George W. (1990). American Narrow Gauge Railroads. Stanford, California: Stanford University Press. ISBN 0-8047-2369-9. |
Article footer navigation boxes
[edit]Railroads and equipment leasing/operating companies
[edit]Template | What it makes | Notes |
---|---|---|
{{North America class I}} talk |
||
{{Canada class 2}} talk |
||
{{NERR}} talk |
||
{{Fitchburg Railroad}} talk |
||
{{US railroad lists}} talk |
Replaces the use of {{US links}} | |
{{Refrigerator Car Lines of the United States}} talk |
||
{{PKP Group companies}} talk |
||
{{SKM stops}} talk |
Historical Scottish railway companies and Scottish railway lines
[edit]Template | What it makes | Notes |
---|---|---|
{{Historical Scottish railway companies}} talk |
||
{{Scottish North Eastern Railway}} talk |
||
{{Monkland Railways}} talk |
||
{{Scottish railway lines}} talk |
Equipment
[edit]Template | What it makes | Notes |
---|---|---|
{{ALCO diesels}} talk |
||
{{CLC diesels}} talk |
||
{{EMD diesels}} talk |
Adds the article to Category:EMD locomotives | |
{{EMD GPs}} talk |
||
{{EMD SDs}} talk |
||
{{EMD cab and cowl}} talk |
||
{{EMD misc}} talk |
||
{{FM diesels}} talk |
||
{{GE diesels}} talk |
||
{{German electric locomotives}} | ||
{{German EMUs}} | ||
{{MLW diesels}} talk |
||
{{SNCF locos}} talk |
||
{{Whyte types}} talk |
||
{{Freight cars}} talk |
||
{{Passenger cars}} talk |
||
{{SP GS locomotives}} talk |
||
{{SP cab forward locomotives}} talk |
||
{{PKP locomotives}} talk |
||
{{UP historical equipment}} talk |
People
[edit]Template | What it makes | Notes |
---|---|---|
{{The Big Four}} talk |
Prints as a one-line high box on most articles | |
{{start box}} talk {{succession box}} talk |
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:
Note that this set of templates 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. |
Equipment manufacturers
[edit]Template | What it makes | Notes |
---|---|---|
{{ACF preds}} talk |
||
{{ALCO preds}} talk |
High-speed rail
[edit]- {{High-speed rail}}
- {{High-speed railway lines}}
- {{Shinkansen}}
- {{Tōkaidō Shinkansen}}
- {{Akita Shinkansen}}
- {{Hokkaido Shinkansen}}
- {{Hokuriku Shinkansen}}
- {{Joetsu Shinkansen}}
- {{Kyūshū Shinkansen}}
- {{Sanyo Shinkansen}}
- {{Tohoku Shinkansen}}
- {{Tōkaidō Shinkansen}}
- {{Yamagata Shinkansen}}
- {{High-speed rail in the People's Republic of China}}
- {{XRL}}
- {{Taiwan High Speed Rail}}
- {{KTX Lines}}
- {{TGV navbox}}
- {{AVE navbox}}
- {{NBS H-WÜ}}
- {{NBS K-F}}
- {{High speed trains in Russia}}
- {{High-speed rail in the United States}}