See something you'd like to change or add, but you've never edited an open encyclopædia before? This overview was written to help absolute beginners get started.
Template:Railway line
From A Storehouse of Knowledge
|
Railway line |
|---|
| Template: Railway line | |
|---|---|
| Use on | Articles about railway lines |
| Use for | Summary information (infobox) |
| Category template applies to page | (none) |
| Template Parameters (See Template style manual). | ||||
|---|---|---|---|---|
| Name | Purpose | Required? | SMW property | Comment |
| heading | Name of line | No | Defaults to the page name | |
| subheading | Alternative name of line | No | ||
| coords | List of station co-ordinates | No | See Co-ordinates section | |
| opened | Year(s) of opening | No | See open/close section | |
| closed | Year(s) of closure | No | See open/close section | |
| part closed | Year(s) of closure | No | See open/close section | |
| gauge P | gauge of railway | No | gauge | |
| tracks | Number of tracks | No | See tracks section | |
| electrification | Electrification details | No | See electrification section | |
| safeworking L | Safeworking system(s) | No | ||
| tunnels | Number of tunnels | No | ||
| operator L | The only operator | No | ||
| original operator L | The original operator | No | ||
| final operator L | The final operator (if closed) | No | ||
| current operator L | The current operator | No | ||
Open/close
The opening and closing dates should be years only. Exact dates can be shown in the article body.
If the line opened and/or closed in stages, list the range of years, e.g. 1930 to 1959
If the line has partly but not fully closed, use the part closed parameter instead of the closed parameter.
Co-ordinates
The optional coord parameter is designed to take a string of co-ordinates indicating the geographical co-ordinates of the railway stations along the line. The format is [latitude] [longitude]~[name]. Multiple locations need to be separated with a semi-colon. The actual co-ordinates can be in various forms, as documented here. The following is an example (from the Strzelecki railway (Victoria) page):
coords= -38.199374,145.488298~Koo wee rup; -38.178514,145.570757~Bayles; -38.190148,145.639347~Catani; -38.220852,145.661674~Yannathan; -38.243459,145.692508~Heathhill; -38.239225,145.778167~Athlone; -38.275746,145.810118~Topiram; -38.312669,145.831125~Triholm; -38.330295,145.903223~Strzelecki
See Maps for methods of determining co-ordinates.
Tracks
This (like most parameters) is a free-form field. The value should be Single, Double, etc., or a number for more tracks, or a longer description such as Double to <station> then single.
Electrification
This should include both voltage and method, e.g. 1500V DC overhead or 600V DC third rail. For unelectrified lines, use None rather than omitting the parameter.
- Data block
The data block below can be copied to the page required to save typing it out. If a parameter in the data block below has a hash character (#), this indicates that the template supplies a default if the parameter is not supplied. Remove the hash if you want to supply a value to this parameter. See Data block on the Template style manual page for more information.
{{Railway line
| heading=
| subheading=
| coords=
| opened=
| closed=
| part closed=
| gauge P=
| tracks=
| electrification=
| safeworking L=
| tunnels=
| operator L=
| original operator L=
| final operator L=
| current operator L=
}}
