Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a46852901cbb5751

Jump to content

Template:Infobox rail/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{{name}}}
{{{other_name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright=0.91]]
[[File:{{{system_map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright=1.14]]
{{{map_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright=1.14]]
{{{caption}}}
Overview
Franchise{{{franchise}}}
Main {{{nameforarea}}}{{{regions}}}
Other {{{nameforarea}}}{{{secregions}}}
Fleet{{{fleet}}}
Stations called at{{{stations}}}
Stations operated{{{stationsop}}}
Parent company{{{parent_company}}}
Headquarters{{{headquarters}}}
Key people{{{key_people}}}
Founders{{{founders}}}
Reporting mark{{{marks}}}
Locale{{{locale}}}
Dates of operation{{{start_year}}}–{{{end_year}}}
Predecessors{{{predecessor_line}}}
Successors{{{successor_line}}}
Technical
Track gauge{{{gauge}}}
Previous gauge{{{old_gauge}}}
Electrification{{{electrification}}}
Length{{{length}}}
Track length{{{tracklength}}}
No. of tracks{{{notrack}}}
Operating speed{{{speed}}}
Highest elevation{{{elevation}}}
Other
Website{{{website}}}
{{{embedded}}}
{{{map_name}}}
{{{routemap}}}

{{Infobox rail}} is used to create an infobox on articles about railway companies; |name= is the only mandatory parameter.

{{Infobox rail line}} is used for railway lines; this template is sometimes used on articles about both a company and a line (e.g. Romney, Hythe and Dymchurch Railway). It may also be used on affiliate companies operating rail public transit systems under contract (e.g. Arriva Rail London).

Syntax

[edit]
{{Infobox rail
| name             = 
| other_name       = 
| logo             = 
| logo_size        = 
| logo_alt         = 
| system_map       = 
| map_size         = 
| map_alt          = 
| map_caption      = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| franchise        = 
| nameforarea      = 
| regions          = 
| secregions       = 
| fleet            = 
| stations         = 
| stationsop       = 
| parent_company   = 
| headquarters     = 
| founders         = 
| key_people       = 
| marks            = 
| locale           = 
| start_year       = <!-- {{Start date|YYYY}} -->
| end_year         = <!-- For currently operating lines, use "present". For defunct lines, use {{End date|YYYY}} -->
| predecessor_line = <!-- "predecessors" can also be used; will make label plural. -->
| successor_line   = <!-- "successors" can also be used; will make label plural. -->
| gauge            = <!-- {{Track gauge|Standard gauge}} -->
| old_gauge        = 
| electrification  = 
| length           = 
| tracklength      = 
| notrack          = 
| speed            = 
| elevation        = 
| website          = <!-- {{URL|example.com}} -->
| embedded         = 
| map              = 
| map_state        = 
| map_name         = 
}}

Parameters

[edit]
ParameterRequiredDefinition
nameYesName of railway company, displayed at top of infobox
railroad_nameNoAnother version of name, with the same effect. Name and railroad name may not be used at the same time.
other_nameNoOther name(s) that the railway company is or was known by.
logoNoFilename of logo image, without File: prefix. Shown just below the railroad name
logo_sizeNoSize of image in pixels with px, default is upright=0.91 (see Wikipedia:Picture tutorial#Upright images)
logo_altNoAlt text for logo, used by screen readers. See Wikipedia:Alternative text for images for more information.
system_mapNoFilename of system map image, without File: prefix, displayed below the logo.
map_captionNoCaption for system map image
map_sizeNoSize of image in pixels with px, default is upright=1.41
map_altNoAlt text for map
imageNoFilename of image, without File: prefix, displayed below the map
image_sizeNoSize of image in pixels with px, default is upright=1.41
image_captionNoImage caption
image_altNoAlt text for image
franchiseNoFor passenger operators: The name of the operating franchise the company operates under. Open access operators may be represented as "Not subject to franchising or subsidy". Railfreight companies may leave this parameter blank.
contractNoFor passenger operators: The name of the operating contract the company operates under.
concessionNoFor passenger operators: The name of the operating concession the company operates under.
regionsNoThe primary region the railway operates in. For a more specific route or station, use nameforarea parameter
secregionsNoThe secondary regions the railway serves
nameforareaNoMay be used in lieu of regions or secregions
fleetNoDetails about the rolling stock, and where possible, any stock on order
stationsNoFor passenger companies: The total number of stations served
stationsopNoNumber of stations the railway acts as property manager for, whether in a de jure or de facto status.
parent_companyNoThe shareholders in the company, in some cases, the owner. Leave blank if owner is an individual person.
headquartersNoThe city where the railway's main office is located.
foundersNoImportant founders of the company; use {{plainlist}} for multiple entries
key_peopleNoCurrent executives of the company; use {{plainlist}} for multiple entries
marksNoThe reporting mark. The definition may be:
  • UIC: a two to five letter identifier displayed on the vehicles where applicable, often an acronym of the railway's legal name.
  • AAR: a two to four letter code for the railway, often an acronym of the railway's trade name.
  • NR: The two letter code used by passenger operators in daily operation
  • Other: Abbreviation of individual rolling stock lessors.
abbrNoAnother version of marks, with the same effect. Abbr and marks may not be used at the same time.
localeNoRegion railway is located, typically a bioregion. Used primarily for freight railways.
start_yearNoYear railway commenced operations, if exact date is known use {{Start date}} template, Using df=y parameter to display in day month year format if appropriate. Shown as Dates of operation
end_yearNoYear railway ceased operations, if exact date is known, use {{End date}} template. If currently operating, type "present". Shown as Dates of operation.
predecessor_lineNoThe definition may be:
  • A list of companies that were merged to make up this company
  • The preceding operator of a contracted service
successor_lineNoSubsequent railway company that operated the company's railway lines
predecessorNoAnother version of predecessor_line, with the same effect.
successorNoAnother version of successor_line, with the same effect.
successorsNoSimilar to successor, but used when a company has more than one successor (e.g. Conrail).
gaugeNoCurrent track gauge (use template {{Track gauge}})
old_gaugeNoPrevious rail gauge (use template {{Track gauge}}), shown as Previous gauge
electrificationNoType and voltage of electrification system. Leave blank if no electrification exists.
lengthNoTotal length of the railway system
speedNoMaximum operating speed of the railway's services, and where possible, the service type in parentheses.
websiteNoOfficial website, use {{URL}} template.
operatorNoFor defunct companies, the current company or companies operating the former company's lines.
notrackNoThe number of tracks on the company's main line.

Embedding other infoboxes

[edit]

The embedded= parameter can be used to embed another infobox with such capability like {{designation list}} and {{infobox NRHP}}.

Examples

[edit]
UsageCodeExample
Minimum use
{{Infobox rail
| name = Isle of Sodor Railway
}}
Isle of Sodor Railway
Logo
{{Infobox rail
| name = Isle of Sodor Railway
| logo = No-photo.svg
| logo_size = 300px
}}
Isle of Sodor Railway
Image
{{Infobox rail
| name          = [[Great North of Scotland Railway]]
| image         = Gordon Highlander steam locomotive.jpg
| image_size    = 300px
| image_caption = No. 49 ''Gordon Highlander'', built
  for the [[Great North of Scotland Railway]] in 1920
}}
Great North of Scotland Railway
No. 49 Gordon Highlander, built for the Great North of Scotland Railway in 1920
Text
{{Infobox rail
| name             = [[Great North of Scotland Railway]]
| marks            = FGW
| locale           = North Scotland
| start_year       = {{Start date|1906|5|12}}
| end_year         = {{End date|1923|1|20}}
| predecessor_line = 
| successor_line   = [[London and North Eastern Railway]]
| gauge            = {{Track gauge|56.5in|allk=on}}
| old_gauge        = {{Track gauge|42in|lk=on}}
| electrification  = 650 [[Volt|V]] [[Direct current|DC]]
| length           = {{convert|50|mi}}
| hq_city          = N/A
| website          = N/A
}}
Great North of Scotland Railway
Overview
HeadquartersN/A
Reporting markFGW
LocaleNorth Scotland
Dates of operationMay 12, 1906 (1906-05-12)–January 20, 1923 (1923-01-20)
SuccessorLondon and North Eastern Railway
Technical
Track gauge4 ft 8+1⁄2 in (1,435 mm) standard gauge
Previous gauge3 ft 6 in (1,067 mm)
Electrification650 V DC
Length50 miles (80 km)
Other
WebsiteN/A
Nearly everything
{{Infobox rail
| name             = [[Great North of Scotland Railway]]
| other_name       = 
| logo             = No-photo.svg
| system_map       = Temporary placeholder photo.jpg
| image            = Gordon Highlander steam locomotive.jpg
| image_size       = 300px
| image_caption    = No. 49 ''Gordon Highlander'', built
 for the [[Great North of Scotland Railway]] in 1920
| marks            = FGW
| locale           = North Scotland
| start_year       = {{Start date|1906|5|12}}
| end_year         = {{End date|1923|1|20}}
| predecessor_line = 
| successor_line   = [[London and North Eastern Railway]]
| gauge            = {{Track gauge|56.5in|allk=on}}
| old_gauge        = {{Track gauge|42in|lk=on}}
| electrification  = 650 [[Volt|V]] [[Direct current|DC]]
| length           = {{convert|50|mi}}
| hq_city          = N/A
| website          = N/A
}}
Great North of Scotland Railway
No. 49 Gordon Highlander, built for the Great North of Scotland Railway in 1920
Overview
HeadquartersN/A
Reporting markFGW
LocaleNorth Scotland
Dates of operationMay 12, 1906 (1906-05-12)–January 20, 1923 (1923-01-20)
SuccessorLondon and North Eastern Railway
Technical
Track gauge4 ft 8+1⁄2 in (1,435 mm) standard gauge
Previous gauge3 ft 6 in (1,067 mm)
Electrification650 V DC
Length50 miles (80 km)
Other
WebsiteN/A

Tracking categories

[edit]