m 1 revision imported |
No edit summary |
||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
{{tl|Infobox rail line}} is used for railway {{Em|lines}}, i.e. the physical trackage between two or more places; however, this template is also sometimes used on articles about both a company and a line (e.g. [[Romney, Hythe and Dymchurch Railway]]). It has no mandatory parameters. {{tl|Infobox rail}} is used to create an [[Wikipedia:Infobox|infobox]] for articles about railway {{Em|companies}}; i.e. the owner or operating entity. For rail {{Em|services}} {{tl|Infobox rail service}} is used. | {{tl|Infobox rail line}} is used for railway {{Em|lines}}, i.e. the physical trackage between two or more places; however, this template is also sometimes used on articles about both a company and a line (e.g. [[:w:Romney, Hythe and Dymchurch Railway|Romney]]). It has no mandatory parameters. {{tl|Infobox rail}} is used to create an [[:w:Wikipedia:Infobox|infobox]] for articles about railway {{Em|companies}}; i.e. the owner or operating entity. For rail {{Em|services}} {{tl|Infobox rail service}} is used. | ||
{{Parameter names example | {{Parameter names example | ||
Line 160: | Line 160: | ||
| <code>native_name</code> || No || Non-English name of rail line | | <code>native_name</code> || No || Non-English name of rail line | ||
|- | |- | ||
| <code>native_name_lang</code> || No || [[List of ISO 639-2 codes|ISO 639-2 code]] e.g. "fr" for French. If more than one, use {{tl|lang}} instead | | <code>native_name_lang</code> || No || [[:w:List of ISO 639-2 codes|ISO 639-2 code]] e.g. "fr" for French. If more than one, use {{tl|lang}} instead | ||
|- | |- | ||
| <code>color</code> || No || Color of rail line (6-digit hex code without "#") | | <code>color</code> || No || Color of rail line (6-digit hex code without "#") | ||
Line 168: | Line 168: | ||
| <code>logo_width</code> || No || Size of logo, default: 256px if the parameter is empty; 50px if non-existent | | <code>logo_width</code> || No || Size of logo, default: 256px if the parameter is empty; 50px if non-existent | ||
|- | |- | ||
| <code>logo_alt</code> || No || Alt text for logo, for visually impaired readers; see [[WP:ALT]]. This should be present if "<code>logo=</code>" is present. | | <code>logo_alt</code> || No || Alt text for logo, for visually impaired readers; see [[:w:WP:AL|WP:ALT]]. This should be present if "<code>logo=</code>" is present. | ||
|- | |- | ||
| <code>image</code> || No || Filename of image | | <code>image</code> || No || Filename of image | ||
Line 184: | Line 184: | ||
| <code>linenumber</code> || No || Official number of the rail line. Not to be confused with the number of a service. | | <code>linenumber</code> || No || Official number of the rail line. Not to be confused with the number of a service. | ||
|- | |- | ||
| <code>elr</code> || No || [[Engineer's Line Reference]] | | <code>elr</code> || No || [[:w:Engineer's Line Reference|Engineer's Line Reference]] | ||
|- | |- | ||
| <code>locale</code> || No || City or region line is located | | <code>locale</code> || No || City or region line is located | ||
Line 199: | Line 199: | ||
|- | |- | ||
| <code>type</code> || No || Type of transit system. Types ''may'' include (one or more): | | <code>type</code> || No || Type of transit system. Types ''may'' include (one or more): | ||
* [[High-speed rail]] | * [[:w:High-speed rail|High-speed rail]] | ||
* [[Heavy rail]] | * [[:w:Heavy rail|Heavy rail]] | ||
* [[Commuter rail]] – use in lieu of "Regional rail," "Commuter train," etc. | * [[:w:Commuter rail|Commuter rail]] – use in lieu of "Regional rail," "Commuter train," etc. | ||
* [[Rapid transit]] – use in lieu of "Metro" or "Subway" | * [[:w:Rapid transit|Rapid transit]] – use in lieu of "Metro" or "Subway" | ||
* [[Light rail]] | * [[:w:Light rail|Light rail]] | ||
* [[Tram]] – use in lieu of "Trolley" or "Streetcar" | * [[:w:Tram|Tram]] – use in lieu of "Trolley" or "Streetcar" | ||
* [[Bus]] | * [[:w:Bus|Bus]] | ||
* [[Bus rapid transit]] | * [[:w:Bus rapid transit|Bus rapid transit]] | ||
* [[Monorail]] | * [[:w:Monorail|Monorail]] | ||
* [[People mover]] | * [[:w:People mover|People mover]] | ||
* [[Interurban]] | * [[:w:Interurban|Interurban]] | ||
|- | |- | ||
| <code>system</code> || No || Name of transit system the services on the line are part of (e.g. National Rail) | | <code>system</code> || No || Name of transit system the services on the line are part of (e.g. National Rail) | ||
Line 261: | Line 261: | ||
| <code>character</code> || No || Character of rail line – e.g. Fully elevated and grade-separated, or At-grade street running, or Underground subway, etc. | | <code>character</code> || No || Character of rail line – e.g. Fully elevated and grade-separated, or At-grade street running, or Underground subway, etc. | ||
|- | |- | ||
| <code>gauge</code> || No || [[Track gauge]] (use template {{tl|Track gauge}}) | | <code>gauge</code> || No || [[:w:Track gauge|Track gauge]] (use template {{tl|Track gauge}}) | ||
|- | |- | ||
| <code>old_gauge</code> || No || Old rail gauge (use template {{tl|Track gauge}}) | | <code>old_gauge</code> || No || Old rail gauge (use template {{tl|Track gauge}}) | ||
|- | |- | ||
| <code>load_gauge</code> || No || [[Loading gauge]] | | <code>load_gauge</code> || No || [[:w:Loading gauge|Loading gauge]] | ||
|- | |- | ||
| <code>minradius</code> || No || Minimum radius of curvature (use template:convert) | | <code>minradius</code> || No || Minimum radius of curvature (use template:convert) | ||
|- | |- | ||
| <code>racksystem</code> || No || Rack system. Examples: [[Abt rack system|Abt]] or [[Strub rack system|Strub]], as the case may be. | | <code>racksystem</code> || No || Rack system. Examples: [[:w:Abt rack system|Abt]] or [[:w:Strub rack system|Strub]], as the case may be. | ||
|- | |- | ||
| <code>electrification</code> || No || Electrification system (e.g. [[Third rail]], [[Overhead catenary]]) and/or voltage | | <code>electrification</code> || No || Electrification system (e.g. [[:w:Third rail|Third rail]], [[:w:Overhead catenary|Overhead catenary]]) and/or voltage | ||
|- | |- | ||
| <code>speed_km/h</code> || No || Maximum or operating speed of the rail line in km/h: auto-converts to mph | | <code>speed_km/h</code> || No || Maximum or operating speed of the rail line in km/h: auto-converts to mph | ||
Line 279: | Line 279: | ||
| <code>speed</code> || No || Use as an alternative to the auto-conversion parameters or for extra info | | <code>speed</code> || No || Use as an alternative to the auto-conversion parameters or for extra info | ||
|- | |- | ||
| <code>signalling</code> || No || System for [[railway signalling]] (block systems etc.) | | <code>signalling</code> || No || System for [[:w:railway signalling|railway signalling]] (block systems etc.) | ||
|- | |- | ||
| <code>trainprotection</code> || No || [[Train protection system]] used on the line | | <code>trainprotection</code> || No || [[:w:Train protection system|Train protection system]] used on the line | ||
|- | |- | ||
| <code>elevation_m</code> || No || Highest elevation of the rail line in metres: auto-converts to feet | | <code>elevation_m</code> || No || Highest elevation of the rail line in metres: auto-converts to feet | ||
Line 320: | Line 320: | ||
| image_alt = Example image of a line | | image_alt = Example image of a line | ||
| caption = Image caption | | caption = Image caption | ||
| type = [[Light rail]] | | type = [[:w:Light rail|Light rail]] | ||
| system = ABC Transit | | system = ABC Transit | ||
| status = Ceased operation | | status = Ceased operation | ||
| locale = [[Newark, New Jersey|Newark]] | | locale = [[:w:Newark, New Jersey|Newark]] | ||
| start = Station A | | start = Station A | ||
| end = Station M | | end = Station M | ||
Line 343: | Line 343: | ||
| speed = | | speed = | ||
| elevation = | | elevation = | ||
| map = [[ | | map = [[File:placeholder.png|200px|alt=Placeholder image]] | ||
| map_name = | | map_name = | ||
| map_state = collapsed | | map_state = collapsed | ||
Line 361: | Line 361: | ||
| image_alt = Example image of a line | | image_alt = Example image of a line | ||
| caption = Image caption | | caption = Image caption | ||
| type = [[Light rail]] | | type = [[:w:Light rail|]] | ||
| system = ABC Transit | | system = ABC Transit | ||
| status = Ceased operation | | status = Ceased operation | ||
| locale = [[Newark, New Jersey|Newark]] | | locale = [[:w:Newark, New Jersey|Newark]] | ||
| start = Station A | | start = Station A | ||
| end = Station M | | end = Station M | ||
Line 385: | Line 385: | ||
| signalling = [[ERTMS]] | | signalling = [[ERTMS]] | ||
| elevation = | | elevation = | ||
| map = [[ | | map = [[File:placeholder.png|200px|alt=Placeholder image]] | ||
| map_name = | | map_name = | ||
| map_state = collapsed | | map_state = collapsed | ||
Line 398: | Line 398: | ||
| image_width = | | image_width = | ||
| image_alt = | | image_alt = | ||
| caption = A train from London via Castle Cary travels west. Note the photograph, due to the [[telephoto lens]], misleads the eye - this junction has a [[speed limit]] of {{convert|100|mph}}! | | caption = A train from London via Castle Cary travels west. Note the photograph, due to the [[:w:telephoto lens|telephoto lens]], misleads the eye - this junction has a [[:w:speed limit|speed limit]] of {{convert|100|mph}}! | ||
| type = | | type = | ||
| system = | | system = | ||
| status = | | status = | ||
| locale = [[Durston]], [[Somerset]], [[England]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}} | | locale = [[:w:Durston|Durston]], [[:w:Somerset|Somerset]], [[:w:England|England]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}} | ||
| start = | | start = | ||
| end = | | end = | ||
Line 425: | Line 425: | ||
| minradius = | | minradius = | ||
| connectinglines = {{Plainlist| | | connectinglines = {{Plainlist| | ||
* [[Reading to Taunton line|Reading to Taunton]] | * [[:w:Reading to Taunton line|Reading to Taunton]] | ||
* [[Bristol to Taunton Line|Bristol to Taunton]] | * [[:w:Bristol to Taunton Line|Bristol to Taunton]] | ||
}} | }} | ||
| routenumber = | | routenumber = | ||
Line 442: | Line 442: | ||
| image_width = | | image_width = | ||
| image_alt = | | image_alt = | ||
| caption = A train from London via Castle Cary travels west. Note the photograph, due to the [[telephoto lens]], misleads the eye - this junction has a [[speed limit]] of {{convert|100|mph}}! | | caption = A train from London via Castle Cary travels west. Note the photograph, due to the [[:w:telephoto lens|]], misleads the eye - this junction has a [[:w:speed limit|]] of {{convert|100|mph}}! | ||
| type = | | type = | ||
| system = | | system = | ||
| status = | | status = | ||
| locale = [[Durston]], [[Somerset]], [[England]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}} | | locale = [[:w:Durston|]], [[:w:Somerset|]], [[:w:England|]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}} | ||
| start = | | start = | ||
| end = | | end = | ||
Line 469: | Line 469: | ||
| minradius = | | minradius = | ||
| connectinglines = {{Plainlist| | | connectinglines = {{Plainlist| | ||
* [[Reading to Taunton line|Reading to Taunton]] | * [[:w:Reading to Taunton line|Reading to Taunton]] | ||
* [[Bristol to Taunton Line|Bristol to Taunton]] | * [[:w:Bristol to Taunton Line|Bristol to Taunton]] | ||
}} | }} | ||
| routenumber = | | routenumber = | ||
Line 483: | Line 483: | ||
== Including a route diagram == | == Including a route diagram == | ||
A [[project:Route diagram template|Route diagram]] (based on template {{tl|routemap}})) can be included via {{para|map}}. It can be composed right in this template (see first example), or it can be a complete template like {{para|1=map|2={{tlf|Needham Line}}}} (second example). | A [[:w:project:Route diagram template|Route diagram]] (based on template {{tl|routemap}})) can be included via {{para|map}}. It can be composed right in this template (see first example), or it can be a complete template like {{para|1=map|2={{tlf|Needham Line}}}} (second example). | ||
Line 515: | Line 515: | ||
|} | |} | ||
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | {{collapse top|[[:w:Wikipedia:TemplateData|TemplateData]] documentation used by [[:w:Wikipedia:VisualEditor|VisualEditor]] and other tools}} | ||
{{TemplateData header|noheader=1}} | {{TemplateData header|noheader=1}} | ||
<templatedata> | <templatedata> | ||
Line 553: | Line 553: | ||
"logo_alt": { | "logo_alt": { | ||
"label": "logo_alt", | "label": "logo_alt", | ||
"description": "Alt text for logo, for visually impaired readers; see [[WP:ALT]]. This should be present if logo= is present.", | "description": "Alt text for logo, for visually impaired readers; see [[:w:WP:ALT|WP:ALT]]. This should be present if logo= is present.", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 568: | Line 568: | ||
"logo_alt2": { | "logo_alt2": { | ||
"label": "logo_alt2", | "label": "logo_alt2", | ||
"description": "Alt text for the second logo, for visually impaired readers; see [[WP:ALT]]. This should be present if logo2= is present.", | "description": "Alt text for the second logo, for visually impaired readers; see [[:w:WP:ALT|WP:ALT]]. This should be present if logo2= is present.", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 708: | Line 708: | ||
"type": { | "type": { | ||
"label": "type", | "label": "type", | ||
"description": "Type of transit system. Types ''may'' include (one or more): [[High-speed rail]]; [[Heavy rail]]; [[Commuter rail]] – use in lieu of 'Regional rail,' 'Commuter train,' etc.; [[Rapid transit]] – use in lieu of 'Metro' or 'Subway'; [[Light rail]]; [[Tram]] – use in lieu of 'Trolley' or 'Streetcar'; [[Bus]]; [[Bus rapid transit]]; [[Monorail]]; [[People mover]]; [[Interurban]]", | "description": "Type of transit system. Types ''may'' include (one or more): [[:w:High-speed rail|]]; [[:w:Heavy rail|]]; [[:w:Commuter rail|]] – use in lieu of 'Regional rail,' 'Commuter train,' etc.; [[:w:Rapid transit|]] – use in lieu of 'Metro' or 'Subway'; [[:w:Light rail|]]; [[:w:Tram|]] – use in lieu of 'Trolley' or 'Streetcar'; [[:w:Bus|]]; [[:w:Bus rapid transit|]]; [[:w:Monorail|]]; [[:w:People mover|]]; [[:w:Interurban|]]", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 818: | Line 818: | ||
"electrification": { | "electrification": { | ||
"label": "electrification", | "label": "electrification", | ||
"description": "Electrification system (e.g. [[Third rail]], [[Overhead catenary]]) and/or voltage", | "description": "Electrification system (e.g. [[:w:Third rail|]], [[:w:Overhead catenary|]]) and/or voltage", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 838: | Line 838: | ||
"gauge": { | "gauge": { | ||
"label": "gauge", | "label": "gauge", | ||
"description": "[[Track gauge]] (use template {{tl|Track gauge}})", | "description": "[[:w:Track gauge|]] (use template {{tl|Track gauge}})", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
"load_gauge": { | "load_gauge": { | ||
"label": "load_gauge", | "label": "load_gauge", | ||
"description": "[[Loading gauge]]", | "description": "[[:w:Loading gauge|]]", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 898: | Line 898: | ||
"racksystem": { | "racksystem": { | ||
"label": "racksystem", | "label": "racksystem", | ||
"description": "Rack system. Examples: [[Abt rack system|Abt]] or [[Strub rack system|Strub]], as the case may be.", | "description": "Rack system. Examples: [[:w:Abt rack system|Abt]] or [[:w:Strub rack system|Strub]], as the case may be.", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 948: | Line 948: | ||
"signalling": { | "signalling": { | ||
"label": "signalling", | "label": "signalling", | ||
"description": "System for [[railway signalling]]", | "description": "System for [[:w:railway signalling|]]", | ||
"type": "string", | "type": "string", | ||
"required": false}, | "required": false}, | ||
Line 1,077: | Line 1,077: | ||
== See also == | == See also == | ||
* [[Template:Infobox station]] for rail stations | * [[Template:Infobox station]] for rail stations | ||
* [[Template:Infobox NYCS]] for [[New York City Subway]] and [[Staten Island Railway]] stations | * [[:w:Template:Infobox NYCS]] for [[:w:New York City Subway|New York City Subway]] and [[:w:Staten Island Railway|Staten Island Railway]] stations | ||
* [[Template:BS-daten]], a shim for the German Wikipedia rail line infobox | * [[Template:BS-daten]], a shim for the German Wikipedia rail line infobox | ||
* [[Template:Track gauge]], using and formatting known track gauges | * [[Template:Track gauge]], using and formatting known track gauges |
Latest revision as of 21:59, 28 January 2025
This is a documentation subpage for Template:Infobox rail line. It contains usage information, categories and other content that is not part of the original page. |
This template is used on approximately 7,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
{{Infobox rail line}} is used for railway lines, i.e. the physical trackage between two or more places; however, this template is also sometimes used on articles about both a company and a line (e.g. Romney). It has no mandatory parameters. {{Infobox rail}} is used to create an infobox for articles about railway companies; i.e. the owner or operating entity. For rail services {{Infobox rail service}} is used.
{{{name}}} | |||
---|---|---|---|
[[File:{{{logo}}}|{{{logo_width}}}|alt={{{logo_alt}}}]] | |||
[[File:{{{image}}}|265x265px|alt={{{image_alt}}}]] | |||
Overview | |||
Other name(s) | {{{other_name}}} | ||
Native name | {{{native_name}}} | ||
Status | {{{status}}} | ||
Owner | {{{owner}}} | ||
Line number | {{{linenumber}}} | ||
Locale | {{{locale}}} | ||
Coordinates | {{{coordinates}}} | ||
Termini |
| ||
Continues from | {{{continuesfrom}}} | ||
Continues as | {{{continuesas}}} | ||
Connecting lines | {{{connectinglines}}} | ||
Former connections | {{{formerconnections}}} | ||
Stations | {{{stations}}} | ||
Website | {{{website}}} | ||
Service | |||
Type | {{{type}}} | ||
System | {{{system}}} | ||
Services | {{{routes}}} | ||
Route number | {{{routenumber}}} | ||
Train number(s) | {{{trainnumber}}} | ||
Operator(s) | {{{operator}}} | ||
Depot(s) | {{{depot}}} | ||
Rolling stock | {{{stock}}} | ||
Daily ridership | {{{daily_ridership}}} | ||
Ridership | {{{ridership2}}} | ||
History | |||
Commenced | {{{yearcommenced}}} | ||
Planned opening | {{{planopen}}} | ||
Opened | {{{open}}} | ||
Last extension | {{{lastextension}}} | ||
Completed | {{{yearcompleted}}} | ||
{{{event1label}}} | {{{event1}}} | ||
{{{event2label}}} | {{{event2}}} | ||
{{{event3label}}} | {{{event3}}} | ||
Closed | {{{close}}} | ||
Reopened | {{{reopen}}} | ||
Technical | |||
Line length | {{{linelength_km}}} | ||
Track length | {{{tracklength_km}}} | ||
Number of tracks | {{{tracks}}} | ||
Character | {{{character}}} | ||
Rack system | {{{racksystem}}} | ||
Track gauge | {{{gauge}}} | ||
Old gauge | {{{old_gauge}}} | ||
Loading gauge | {{{load_gauge}}} | ||
Route availability | {{{availability}}} | ||
Minimum radius | {{{minradius}}} | ||
Electrification | {{{electrification}}} | ||
Operating speed | {{{speed_km}}} | ||
Signalling | {{{signalling}}} | ||
Train protection system | {{{trainprotection}}} | ||
Highest elevation | {{{elevation_m}}} | ||
Maximum incline | {{{maxincline}}} | ||
Average inter-station distance | {{{aveinterstation}}} | ||
|
{{Infobox rail line
| box_width =
| name =
| other_name =
| native_name =
| native_name_lang =
| color =
| logo =
| logo_width =
| logo_alt =
| image =
| image_width =
| image_alt =
| caption =
| type =
| system =
| status =
| locale =
| start =
| end =
| stations =
| routes =
| daily_ridership =
| ridership2 =
| planopen = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| open = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| yearcommenced = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| yearcompleted = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| close = <!--{{End date|YYYY|MM|DD|df=y}}-->
| event1label =
| event1 =
| event2label =
| event2 =
| event3label =
| event3 =
| owner =
| operator =
| character =
| depot =
| stock =
| linelength_km =
| linelength_mi =
| linelength =
| tracklength_km =
| tracklength_mi =
| tracklength =
| tracks =
| gauge = <!-- {{Track gauge|sg|allk=on}} {{Track gauge|1000mm|allk=on}} {{Track gauge|42in|lk=on}} etc -->
| old_gauge =
| load_gauge =
| minradius =
| racksystem =
| routenumber =
| linenumber =
| electrification =
| speed_km/h =
| speed_mph =
| speed =
| signalling =
| elevation_m =
| elevation_ft =
| elevation =
| website =
| map =
| map_name = map_name
| map_state = uncollapsed
| embedded =
}}
Parameters
Parameter | Required | Definition |
---|---|---|
box_width |
No | Width of infobox, default: 25em; Note: use auto for automatic width (nb long image captions will not wrap if |box_width=auto is specified)
|
name |
No | Name of rail line; default:Article Name |
other_name |
No | Alternative name of rail line |
native_name |
No | Non-English name of rail line |
native_name_lang |
No | ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead |
color |
No | Color of rail line (6-digit hex code without "#") |
logo |
No | Filename of image for the logo |
logo_width |
No | Size of logo, default: 256px if the parameter is empty; 50px if non-existent |
logo_alt |
No | Alt text for logo, for visually impaired readers; see WP:ALT. This should be present if "logo= " is present.
|
image |
No | Filename of image |
image_width |
No | Size of image, default: 250px |
image_alt |
No | Alt text for image. This should be present if "image= " is present.
|
caption |
No | Caption of image |
status |
No | Status of rail line |
owner |
No | Owner of rail line |
linenumber |
No | Official number of the rail line. Not to be confused with the number of a service. |
elr |
No | Engineer's Line Reference |
locale |
No | City or region line is located |
coordinates |
No | Coordinates; use {{Coord}} with |display=inline,title
|
start |
No | Name of starting station/junction |
end |
No | Name of ending station/junction |
stations |
No | Number of stations/stops |
Service | ||
type |
No | Type of transit system. Types may include (one or more):
|
system |
No | Name of transit system the services on the line are part of (e.g. National Rail) |
routes |
No | Service routes of rail line or number(s)/identifier(s) of set of trains with same service, usually seen in suburban trains. e.g. S7, IENA, 7, Line A. |
routenumber |
No | Route number(s) indicated in timetables to identify the stretch of track, in Germany usually referred as Kursbuchstrecke |
trainnumber |
No | Train number(s) running as shown in official timetables and printed on tickets. |
operator |
No | Operator(s) of services on the line |
depot |
No | Name of traction maintenance depot(s) of rail line |
stock |
No | Types of rolling stock used on the rail line |
daily_ridership |
No | Daily system ridership |
ridership2 |
No | Generic ridership field for non-daily values |
History | ||
yearcommenced |
No | Year construction commenced |
planopen |
No | Date rail line planned opening |
open |
No | Date rail line opened (use template {{Start date}}) |
yearcompleted |
No | Year construction was completed |
close |
No | Date rail line closed (use template {{End date}}) |
reopen |
No | Date rail line reopened after closure (use template {{Start date}}) |
Technical | ||
linelength_km |
No | Length of the line length in kilometres: auto-converts to miles |
linelength_mi |
No | Length of the line length in miles: auto-converts to kilometres |
linelength |
No | Use as an alternative to the auto-conversion parameters or for extra info |
tracklength_km |
No | Length of the track length in kilometres: auto-converts to miles |
tracklength_mi |
No | Length of the track length in miles: auto-converts to kilometres |
tracklength |
No | Use as an alternative to the auto-conversion parameters or for extra info |
tracks |
No | Number of tracks |
character |
No | Character of rail line – e.g. Fully elevated and grade-separated, or At-grade street running, or Underground subway, etc. |
gauge |
No | Track gauge (use template {{Track gauge}}) |
old_gauge |
No | Old rail gauge (use template {{Track gauge}}) |
load_gauge |
No | Loading gauge |
minradius |
No | Minimum radius of curvature (use template:convert) |
racksystem |
No | Rack system. Examples: Abt or Strub, as the case may be. |
electrification |
No | Electrification system (e.g. Third rail, Overhead catenary) and/or voltage |
speed_km/h |
No | Maximum or operating speed of the rail line in km/h: auto-converts to mph |
speed_mph |
No | Maximum or operating speed of the rail line in mph: auto-converts to km/h |
speed |
No | Use as an alternative to the auto-conversion parameters or for extra info |
signalling |
No | System for railway signalling (block systems etc.) |
trainprotection |
No | Train protection system used on the line |
elevation_m |
No | Highest elevation of the rail line in metres: auto-converts to feet |
elevation_ft |
No | Highest elevation of the rail line in feet: auto-converts to metres |
elevation |
No | Use as an alternative to the auto-conversion parameters or for extra info |
mapcolour mapcolor |
No | The colour or color of the line on route maps; Use either mapcolour for colour or mapcolor for color, but not both
|
mapcolourlink mapcolorlink |
No | The name of an article for wikilinking the word "map" in the mapcolour and mapcolor field label
|
website |
No | URL of website. Raw URLS will be hyperlinked and displayed. External link wikilinking works as well. |
map |
No | Map of line |
map_name |
No | Title of map; default: Route map |
map_state |
No | Shows or hides map. Use show or collapsed
|
embedded |
No | Use to embed other infobox templates in this one |
Examples
Basic
Alpha Line | ||
---|---|---|
Overview | ||
Other name(s) | Line Alpha | |
Native name | Le Alpha | |
Status | Ceased operation | |
Locale | Newark | |
Termini |
| |
Stations | 15 | |
Service | ||
Type | Light rail | |
System | ABC Transit | |
Services | 1 | |
Operator(s) | BCT Transport | |
Daily ridership | 239,200 | |
History | ||
Opened | June 22, 1904 | |
Closed | March 8, 1942 | |
Technical | ||
Line length | 13.8 mi (22.2 km) | |
Track gauge | 4 ft 8+1⁄2 in (1,435 mm) standard gauge | |
|
{{Infobox rail line
| name = Alpha Line
| other_name = Line Alpha
| native_name = Le Alpha
| native_name_lang = fr
| color = 003399
| logo = South Korea subway logo.svg
| logo_width = 75px
| logo_alt = South Korea subway logo, demo
| image = KORAIL EMU5000 6th.jpg
| image_width =
| image_alt = Example image of a line
| caption = Image caption
| type = [[:w:Light rail|]]
| system = ABC Transit
| status = Ceased operation
| locale = [[:w:Newark, New Jersey|Newark]]
| start = Station A
| end = Station M
| stations = 15
| routes = 1
| daily_ridership = 239,200
| open = June 22, 1904
| close = March 8, 1942
| owner =
| operator = BCT Transport
| character =
| depot =
| stock =
| linelength_mi = 13.8
| tracklength =
| tracks =
| gauge = {{RailGauge|1435mm|lk=on}}
| electrification =
| speed =
| signalling = [[ERTMS]]
| elevation =
| map = [[File:placeholder.png|200px|alt=Placeholder image]]
| map_name =
| map_state = collapsed
}}
Junction
Cogload Junction | |
---|---|
Overview | |
Locale | Durston, Somerset, England Lua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value). |
Connecting lines | |
History | |
Opened | 1906 |
Flyover built | 1931 |
Signal box closed | 1986 |
Technical | |
Track gauge | 1,435 mm (4 ft 8+1⁄2 in) |
Operating speed | 100 mph (160 km/h) |
{{Infobox rail line
| name = Cogload Junction
| image = Cogload Junction 43130.jpg
| image_width =
| image_alt =
| caption = A train from London via Castle Cary travels west. Note the photograph, due to the [[:w:telephoto lens|]], misleads the eye - this junction has a [[:w:speed limit|]] of {{convert|100|mph}}!
| type =
| system =
| status =
| locale = [[:w:Durston|]], [[:w:Somerset|]], [[:w:England|]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}}
| start =
| end =
| stations =
| routes =
| ridership =
| ridership2 =
| planopen =
| open = {{Start date|1906}}
| event1label = Flyover built
| event1 = 1931
| event2label = Signal box closed
| event2 = 1986
| close =
| owner =
| operator =
| character =
| depot =
| stock =
| strack =
| gauge = {{Track gauge|sg|allk=on}}
| minradius =
| connectinglines = {{Plainlist|
* [[:w:Reading to Taunton line|Reading to Taunton]]
* [[:w:Bristol to Taunton Line|Bristol to Taunton]]
}}
| routenumber =
| linenumber =
| electrification =
| speed_mph = 100
| elevation_m =
| elevation_ft =
| elevation =
}}
Including a route diagram
A Route diagram (based on template {{routemap}})) can be included via |map=
. It can be composed right in this template (see first example), or it can be a complete template like |map={{Needham Line}}
(second example).
Note that parameter |inline=
must be set to a non-empty value, like {{routemap|inline=yes}}.
{{Infobox rail line
| map =
{{routemap|inline=yes|map=
KBHFa~~London St Pancras
LSTR
KBHFe~~Paris Gare du Nord
}}
}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Infobox rail line
| map = {{Needham Line}}
}} |
|
TemplateData documentation used by VisualEditor and other tools
|
---|
Tracking categories
Added by this template:
Added by supporting template:
See also
- Template:Infobox station for rail stations
- w:Template:Infobox NYCS for New York City Subway and Staten Island Railway stations
- Template:BS-daten, a shim for the German Wikipedia rail line infobox
- Template:Track gauge, using and formatting known track gauges