Workforce: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.
Contents
General messages
Talk page messages
What to type | What it makes | Notes |
---|---|---|
{{TrainsWikiProject}} talk |
Parameters:
| |
{{todo, trains}} talk |
Adds the article to Category:To do, trains |
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. |
One parameter:
Adds the article to 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 | ||||
{{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. |
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.
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 Biography}} talk |
|
Parameters:
| ||||||||||||||||||||||||||||||||||||||||||||
{{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. | ||||||||||||||||||||||||||||||||||||||||||||
{{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 111⁄2 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 |
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. |
Railroads and equipment leasing/operating companies
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}} | Classes of German electric locomotives
BR number:
101 |
103 |
104 |
109 |
110 |
111 |
112 |
112 alt |
113 |
114 |
114 alt |
115 |
116 |
117 |
118 |
119 |
120 |
132 |
139 |
140 |
141 |
142 |
143 |
144 |
145 (DB) |
145 (DB AG) |
146 |
150 |
151 |
152 |
152 (DB) |
155 |
156 |
160 |
163 |
169 |
171 |
175 |
180 |
181 |
182 |
182 alt |
183 |
184 |
185 |
188 |
189 |
191 |
193 |
194 |
|||||||||||||||||||||||||
{{German EMUs}} | BR number:
401 |
402 |
403 |
403 alt |
406 |
410 |
411 |
415 |
420 |
421 |
422 |
423 |
424 |
425 |
425 alt |
426 |
426 alt |
427 |
450 |
465 |
485 alt |
490 |
491 ET 11 |
ET 25 |
ET 26 |
ET 27 |
ET 31 |
ET 41 |
ET 51 |
ET 55 |
ET 65 |
ET 82 |
ET 85 |
ET 90 |
ET 91 ("Gläserner Zug") Battery railcars:
515 |
517 |
ETA 150 |
ETA 176 |
ETA 178 |
ETA 179 S-Bahn EMUs: Hamburg:
470 |
471 |
472 |
473 |
474 |
ET 99 |
ET 170 |
ET 171 |
|||||||||||||||||||||||||
{{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
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 |
Template:Start box | ||||
Preceded by John G. Downey |
Governors of California 1861–1863 |
Succeeded by Frederick Low | |||
Preceded by Timothy Guy Phelps |
Presidents of the Southern Pacific Railroad 1868–1890 |
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. |}
Equipment manufacturers
Template | What it makes | Notes | ||||||
---|---|---|---|---|---|---|---|---|
{{ACF preds}} talk |
|
|||||||
{{ALCO preds}} talk |
|
Category templates
Template | What it makes | Notes |
---|---|---|
{{lived}} talk |
[[Category:b births|key]][[Category:d deaths|key]] | Three parameters:
|