Wiki143: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
Talk page messages
| What to type | What it makes | Notes |
|---|---|---|
| Template:Tl talk |
Script error: No such module "WikiProject banner". | Parameters:
|
| Template:Tl talk |
Template:Mbox | Adds the article to Category:To do, trains |
Headers
| What to type | What it makes | Notes | |||
|---|---|---|---|---|---|
| Template:Tl talk |
Script error: No such module "Sidebar".
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 | |||
| Template:Tl 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 | |||
| Template:Tl 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.
| |||
| Template:Tl talk |
Script error: No such module "Navbox". | 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. | |||
| Template:Tl talk |
Template:Contents - AAR reporting marks | This template is used as the table of contents for the list of reporting marks. |
Stubs
| What to type | What it makes | Notes |
|---|---|---|
| Template:Tl talk |
Template:Asbox | 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 Template:Tl only when a more specific stub template doesn't exist.
Article text and infoboxes
| Template | What it makes | Notes |
|---|---|---|
| Template:Tl talk |
Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".Script error: No such module "Check for clobbered parameters". | Parameters:
|
| Template:Tl talk |
Script error: No such module "infobox".Script error: No such module "Check for unknown parameters".Template:Main otherScript error: No such module "Check for clobbered parameters".Template:Wikidata image | Parameters:
There are many more parameters available; see the template documentation for a complete list. |
| Template:Tl talk |
Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters". | Two required parameters:
Many more parameters, all listed and described on the talk page. |
| Template:Tl talk |
Template:Infobox station | The template requires two parameters:
For full documentation, see the talk page. |
| Template:Tl talk |
Template:Infobox station | The template requires five parameters:
For full documentation, see the talk page. |
| Template:Tl talk |
Template:Infobox station | The template requires three parameters:
For full documentation, see the talk page. This template has superseded Template:Tl. |
| Template:Tl talk |
Template:Infobox Train | See the template page for full list of parameters. |
| Template:Tl talk |
(reporting mark BNSF) | This template has exactly one unnamed parameter. It is the reporting mark to display (the example shown uses BNSF). |
| Template:Tl talk |
Template:Track gauge (for param=ussg) | A standardized template for expressing railway track gauges |
Common references
These should generally be substituted using subst: rather than transcluded.
| Template | What it makes | Notes |
|---|---|---|
| Template:Tls talk |
This article incorporates data from the 1922 Locomotive Cyclopedia of American Practice | |
| Template:Tls talk |
Script error: No such module "Template wrapper". | |
| Template:Tls talk |
Script error: No such module "citation/CS1". | |
| Template:Tls talk |
Script error: No such module "citation/CS1". | |
| Template:Tls talk |
Script error: No such module "citation/CS1". | |
| Template:Tls talk |
Script error: No such module "citation/CS1". | |
| Template:Tls talk |
Script error: No such module "Citation/CS1". | |
| Template:Tls talk |
Script error: No such module "citation/CS1". | |
| Template:Tls talk |
Script error: No such module "citation/CS1". | |
| Template:Tls talk |
|
|
| Template:Tls talk |
Script error: No such module "citation/CS1". |
Railroads and equipment leasing/operating companies
| Template | What it makes | Notes |
|---|---|---|
| Template:Tl talk |
Template:North America class I | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | Replaces the use of Template:Tl |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Template:SKM stops |
Historical Scottish railway companies and Scottish railway lines
| Template | What it makes | Notes |
|---|---|---|
| Template:Tl talk |
Template:Historical Scottish railway companies | |
| Template:Tl talk |
Template:Scottish North Eastern Railway | |
| Template:Tl talk |
Template:Monkland Railways | |
| Template:Tl talk |
Script error: No such module "Navbox". |
Equipment
| Template | What it makes | Notes |
|---|---|---|
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | Adds the article to Category:EMD locomotives |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl | Script error: No such module "Navbox". | |
| Template:Tl | Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Script error: No such module "Navbox". | |
| Template:Tl talk |
Template:PKP locomotives | |
| Template:Tl talk |
Script error: No such module "Navbox". |
People
| Template | What it makes | Notes | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Template:Tl talk |
Script error: No such module "Navbox". | Prints as a one-line high box on most articles | ||||||||
| Template:Tl talk |
Equipment manufacturers
High-speed rail |