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 |
Parameters:
|
|
{{todo, trains}} talk |
Adds the article to Category:To do, trains |
[edit] Headers
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 that these events occur on 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. |
||||||
{{future railway station}} talk |
|
Adds the article to Cat:Future railway stations | ||||||
{{future public transportation}} talk |
|
Adds the article to Cat:Future public transportation | ||||||
{{future australian public transportation}} talk |
|
Adds the article to Cat:Future public transportation in Australia
|
||||||
{{future canadian public transportation}} talk |
|
Adds the article to Cat:Future public transportation in Canada | ||||||
{{future chinese public transportation}} talk |
|
Adds the article to Cat:Future public transportation in China | ||||||
{{future public transportation in France}} talk |
|
Adds the article to Cat:Future public transportation in France | ||||||
{{future uk public transportation}} talk |
|
Adds the article to Cat:Future public transportation in the United Kingdom | ||||||
{{future usa public transportation}} talk |
|
Adds the article to Cat:Future public transportation in the United States
|
||||||
{{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 |
|
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 |
|
Parameters:
Automatically populates the gauge with standard gauge. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
{{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 DB station}} talk |
|
The template requires two parameters:
For full documentation, see the talk page. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox UK 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 |
(AAR reporting marks BNSF) | This template has exactly one unnamed parameter. It is the reporting mark to display (the example shown uses BNSF). | |||||||||||||||||||||||||||||||||||||||||||||||||||
{{RailGauge}} talk |
4 ft 8½ in (1,435 mm) (for param=ussg) | A standardized template for expressing rail gauges |
[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.; Pinkepank, Jerry A. (1989). The Contemporary Diesel Spotter's Guide. Waukesha, WI: Kalmbach Books. ISBN 0-8902-6088-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 154: pp. 9-15. ISSN 0090-7847. 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 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
[edit] Historical Scottish railway companies and Scottish railway lines
Template | What it makes | Notes | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Historical Scottish railway companies}} talk |
|
||||||||||||||||||||||||||||
{{Scottish North Eastern Railway}} talk |
|
||||||||||||||||||||||||||||
{{Monkland Railways}} talk |
|
||||||||||||||||||||||||||||
{{Scottish railway lines}} talk |
|
[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 |
|
|||||||||||||||||||||||||||||||||||||
{{EMD misc}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{FM diesels}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{GE diesels}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{German electric locomotives}} |
|
|||||||||||||||||||||||||||||||||||||
{{German EMUs}} |
|
|||||||||||||||||||||||||||||||||||||
{{MLW diesels}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{SNCF locos}} talk |
Wikimedia Commons has media related to:
|
|||||||||||||||||||||||||||||||||||||
{{Whyte types}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{Freight cars}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{Passenger cars}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{SP GS locomotives}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{SP cab forward locomotives}} talk |
|
|||||||||||||||||||||||||||||||||||||
{{PKP locomotives}} talk |
Wikimedia Commons has media related to:
|
|||||||||||||||||||||||||||||||||||||
{{UP historical equipment}} talk |
|
[edit] People
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 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 |
|
||||||||||
{{ALCO preds}} talk |
|
[edit] Category templates
Template | What it makes | Notes |
---|---|---|
{{lived}} talk |
[[Category:b births|key]][[Category:d deaths|key]] | Three parameters:
|