வார்ப்புரு:Infobox rail/doc
{{Documentation subpage}}
 &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&gt;
 {{High-use}}
 {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
 == Usage ==
 {{generic template demo | abbr | alt | caption | defunct | el | electrification | elevation | embedded | end_year | fleet | founded | founders | franchise | gauge | headquarters | hq_city | image | image_alt | image_caption | image_filename | image_size | key_people | length | linelength | locale | logo | logo_alt | logo_filename | logo_size | map | map_alt | map_caption | map_name | map_size | map_state | marks | name | nameforarea | notrack | old_gauge | other_name | parent_company | predecessor | predecessor_line | predecessors | regions | routekm | routemap | secregions | speed | start_year | stations | stationsop | successor | successor_line | successors | system_map | tracklength | website  }}
 
 {{Tlf|Infobox rail}} is used to create an [[Wikipedia:Infobox|infobox]] on articles about railway {{Em|companies}}; {{para|name}} is the only mandatory parameter.
 
 {{tl|Infobox rail line}} is used for railway {{Em|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 ==
 &lt;syntaxhighlight lang=&quot;wikitext&quot; style=&quot;overflow:auto;&quot;&gt;
 {{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       = &lt;!-- {{Start date|YYYY}} --&gt;
 | end_year         = &lt;!-- For currently operating lines, use &quot;present&quot;. For defunct lines, use {{End date|YYYY}} --&gt;
 | predecessor_line = &lt;!-- &quot;predecessors&quot; can also be used; will make label plural. --&gt;
 | successor_line   = &lt;!-- &quot;successors&quot; can also be used; will make label plural. --&gt;
 | gauge            = &lt;!-- {{Track gauge|Standard gauge}} --&gt;
 | old_gauge        = 
 | electrification  = 
 | length           = 
 | tracklength      = 
 | notrack          = 
 | speed            = 
 | elevation        = 
 | website          = &lt;!-- {{URL|example.com}} --&gt;
 | embedded         = 
 | map              = 
 | map_state        = 
 | map_name         = 
 }}
 &lt;/syntaxhighlight&gt;
 
 ==Parameters==
 {| class=&quot;wikitable&quot;
 |-
 ! Parameter || Required || Definition
 |-
 | &lt;code&gt;name&lt;/code&gt; || '''Yes''' || Name of railway company, displayed at top of infobox
 |-
 | &lt;code&gt;railroad_name&lt;/code&gt; || No || Another version of name, with the same effect. Name and railroad name may not be used at the same time.
 |-
 | &lt;code&gt;other_name&lt;/code&gt; || No || Other name(s) that the railway company is or was known by. 
 |-
 | &lt;code&gt;logo&lt;/code&gt; || No || Filename of logo image, without &lt;code&gt;File:&lt;/code&gt; prefix. Shown just below the railroad name
 |-
 | &lt;code&gt;logo_size&lt;/code&gt; || No || Size of image in pixels with '''px''', default is &lt;code&gt;upright=0.91&lt;/code&gt; (see [[Wikipedia:Picture tutorial#Upright images]])
 |-
 | &lt;code&gt;logo_alt&lt;/code&gt; || No || Alt text for logo, used by screen readers. See [[Wikipedia:Alternative text for images]] for more information.
 |-
 | &lt;code&gt;system_map&lt;/code&gt; || No ||  Filename of system map image, without &lt;code&gt;File:&lt;/code&gt; prefix, displayed below the logo.
 |-
 | &lt;code&gt;map_caption&lt;/code&gt; || No || Caption for system map image
 |-
 | &lt;code&gt;map_size&lt;/code&gt; || No || Size of image in pixels with '''px''', default is &lt;code&gt;upright=1.41&lt;/code&gt;
 |-
 | &lt;code&gt;map_alt&lt;/code&gt; || No || Alt text for map
 |-
 | &lt;code&gt;image&lt;/code&gt; || No || Filename of image, without &lt;code&gt;File:&lt;/code&gt; prefix, displayed below the map
 |-
 | &lt;code&gt;image_size&lt;/code&gt; || No || Size of image in pixels with '''px''', default is &lt;code&gt;upright=1.41&lt;/code&gt;
 |-
 | &lt;code&gt;image_caption&lt;/code&gt; || No || Image caption
 |-
 | &lt;code&gt;image_alt&lt;/code&gt; || No || Alt text for image
 |-
 | &lt;code&gt;franchise&lt;/code&gt; || No || For passenger operators: The name of the operating franchise the company operates under. Open access operators may be represented as &quot;Not subject to franchising or subsidy&quot;. Railfreight companies may leave this parameter blank.
 |-
 | &lt;code&gt;contract&lt;/code&gt; || No || For passenger operators: The name of the operating contract the company operates under. 
 |-
 | &lt;code&gt;concession&lt;/code&gt; || No || For passenger operators: The name of the operating concession the company operates under. 
 |-
 | &lt;code&gt;regions&lt;/code&gt; || No || The primary region the railway operates in. For a more specific route or station, use nameforarea parameter
 |-
 | &lt;code&gt;secregions&lt;/code&gt; || No || The secondary regions the railway serves
 |-
 | &lt;code&gt;nameforarea&lt;/code&gt; || No || May be used in lieu of regions or secregions
 |-
 | &lt;code&gt;fleet&lt;/code&gt; || No || Details about the rolling stock, and where possible, any stock on order
 |-
 | &lt;code&gt;stations&lt;/code&gt; || No || For passenger companies: The total number of stations served
 |-
 | &lt;code&gt;stationsop&lt;/code&gt; || No || Number of stations the railway acts as property manager for, whether in a ''de jure'' or ''de facto'' status.
 |-
 | &lt;code&gt;parent_company&lt;/code&gt; || No || The shareholders in the company, in some cases, the owner. Leave blank if owner is an individual person.
 |-
 | &lt;code&gt;headquarters&lt;/code&gt; || No || The city where the railway's main office is located. 
 |-
 | &lt;code&gt;founders&lt;/code&gt; || No || Important founders of the company; use {{t1|plainlist}} for multiple entries
 |-
 | &lt;code&gt;key_people&lt;/code&gt; || No || Current executives of the company; use {{t1|plainlist}} for multiple entries
 |-
 | &lt;code&gt;marks&lt;/code&gt; || No || The [[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.
 * '''[[Association of American Railroads|AAR]]''': a two to four letter code for the railway, often an acronym of the railway's [[trade name]].
 * '''[[National Rail|NR]]''': The two letter code used by passenger operators in daily operation 
 * Other: Abbreviation of individual rolling stock lessors.
 |-
 | &lt;code&gt;abbr&lt;/code&gt; || No || Another version of marks, with the same effect. Abbr and marks may not be used at the same time.
 |-
 | &lt;code&gt;locale&lt;/code&gt; || No || Region railway is located, typically a bioregion. Used primarily for freight railways.
 |-
 | &lt;code&gt;start_year&lt;/code&gt; || No || Year railway commenced operations, if exact date is known use {{tl|Start date}} template, Using &lt;code&gt;df=y&lt;/code&gt; parameter to display in day month year format if appropriate. Shown as '''Dates of operation'''
 |-
 | &lt;code&gt;end_year&lt;/code&gt; || No || Year railway ceased operations, if exact date is known, use {{tl|End date}} template. If currently operating, type &quot;present&quot;. Shown as '''Dates of operation'''.
 |-
 | &lt;code&gt;predecessor_line&lt;/code&gt; || No || The definition may be:
 * A list of companies that were merged to make up this company
 * The preceding operator of a contracted service
 |-
 | &lt;code&gt;successor_line&lt;/code&gt; || No || Subsequent railway company that operated the company's railway lines
 |-
 | &lt;code&gt;predecessor&lt;/code&gt; || No || Another version of predecessor_line, with the same effect.
 |-
 | &lt;code&gt;successor&lt;/code&gt; || No || Another version of successor_line, with the same effect.
 |-
 | &lt;code&gt;successors&lt;/code&gt; || No || Similar to successor, but used when a company has more than one successor (e.g. [[Conrail]]).
 |-
 | &lt;code&gt;gauge&lt;/code&gt; || No || Current [[track gauge]] (use template {{tl|Track gauge}})
 |-
 | &lt;code&gt;old_gauge&lt;/code&gt; || No || Previous rail gauge (use template {{tl|Track gauge}}), shown as '''Previous gauge'''
 |-
 | &lt;code&gt;electrification&lt;/code&gt; || No || Type and voltage of electrification system. Leave blank if no electrification exists.
 |-
 | &lt;code&gt;length&lt;/code&gt; || No || Total length of the railway system
 |-
 | &lt;code&gt;speed&lt;/code&gt; || No || Maximum operating speed of the railway's services, and where possible, the service type in parentheses.
 |-
 | &lt;code&gt;website&lt;/code&gt; || No || Official website, use {{tl|URL}} template.
 |-
 | &lt;code&gt;operator&lt;/code&gt; || No || For defunct companies, the current company or companies operating the former company's lines.
 |-
 | &lt;code&gt;notrack&lt;/code&gt; || No || The number of tracks on the company's main line.
 |}
 
 ===Embedding other infoboxes===
 The &lt;code&gt;embedded=&lt;/code&gt; parameter can be used to embed another infobox with such capability like {{tl|designation list}} and {{tl|infobox NRHP}}.
 
 ==Examples==
 {| class=&quot;wikitable&quot; 
 |-
 ! Usage !! Code !! Example
 |-
 | Minimum use || &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{Infobox rail
 | name = Isle of Sodor Railway
 }}&lt;/syntaxhighlight&gt; || {{Infobox rail
 | name = Isle of Sodor Railway
 }}
 |-
 | Logo || &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{Infobox rail
 | name = Isle of Sodor Railway
 | logo = No-photo.svg
 | logo_size = 300px
 }}&lt;/syntaxhighlight&gt; || {{Infobox rail
 | name = Isle of Sodor Railway
 | logo = No-logo.svg
 | logo_size = 300px
 }}
 |-
 | Image || &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{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
 }}
 &lt;/syntaxhighlight&gt; || {{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
 }}
 |-
 
 | Text ||&lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{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
 }}&lt;/syntaxhighlight&gt; || {{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
 }}
 |-
 | Nearly everything ||&lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{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
 }}&lt;/syntaxhighlight&gt; ||{{Infobox rail
 | name = [[Great North of Scotland Railway]]
 | logo = 
 | 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
 }}
 |}
 
 ==Tracking category==
 * {{clc|அறியப்படாத அளவுருக்கள் கொண்ட infobox rail ஐ பயன்படுத்தும் பக்கங்கள்}}
 * {{clc|பகுப்பு:முரண்பட்ட அளவுருக்கள் கொண்ட infobox rail ஐ பயன்படுத்தும் பக்கங்கள்}}
 
 {{Organization infoboxes}}
 
 &lt;includeonly&gt;{{Sandbox other||
 &lt;!-- Categories below this line, please; interwikis at Wikidata --&gt;
 [[Category:Rail transport infobox templates|Rail]]
 [[Category:Templates that add a tracking category]]