Шаблон:Infobox heritage railway

Мавод аз Википедиа — донишномаи озод
Ҳуҷҷатгузорӣ

This infobox template is for use on heritage railway articles; please supply references to information, where appropriate.

Parameters

This shows all available parameters of this infobox template. You can copy this whole form to your article and fill in the entries you need.

{{Infobox heritage railway
 | name               = 
 | other_name         = 
 | logo               = 
 | logo_width         = 
 | logo_alt           = 
 | image              = 
 | image_name         =
 | image_width        = 
 | image_alt          =
 | caption            = 
 | color              = 
 | locale             = 
 | terminus           = 
 | longitude          = 
 | latitude           = 
 | map                = 
 | map_caption        = 
 | map_alt            = 
 | mapsize            = 
 | connections        = 
 | linename           = 
 | builtby            = 
 | originalopen       = 
 | originalgauge      = 
 | originalrack       = 
 | originalelec       = 
 | owned              = 
 | operator           = 
 | marks              = 
 | stations           = 
 | length             = 
 | preservedgauge     = 
 | preservedrack      = 
 | preservedelec      = 
 | era                = 
 | com-years          = 
 | com-events         = 
 | com-years1         = 
 | com-events1        = 
 | ...
 | com-years9         = 
 | com-events9        = 
 | closedpassengers   = 
 | closed             = 
 | stageyears         = 
 | stage              = 
 | years              = 
 | events             = 
 | years1             = 
 | events1            = 
 | ...
 | years12            = 
 | events12           = 
 | headquarters       = 
 | website            = 
 | routemap           = 
 | routemap_name      = 
 | routemap_state     = 
 | templatename       =
}}

Usage

Overview

name name of the heritage railway
other_name alternative name for railway
logo file name of the logo image, doesn't require the File: prefix
logo_width width of the logo image. 200px by default
logo_alt alt attribute of the logo, as per WP:ALT
image space for another image, usually a photo of the facility or the train; unlike the logo parameter, you need to apply the full form of image rendering syntax like this: [[File:filename|width|alignment|alt=]]. It is best to make it align to center and avoid applying the thumbnail option here. Alternatively this parameter actually gives you freedom to put anything other than image inside, but be sensible.
image_name another image parameter functions more similar to the logo parameter so you don't need to enter the full syntax for the image.
imagesize width of the image of image_name parameter. 300px by default.
image_alt alt attribute of the image of image_name parameter
caption caption text below the image_name rendering
locale locale of railway; county or local authority, etc.
terminus main terminus of the railway
longitude coordinates of principle station (where relevant)
latitude [as above]
map file name of the map image, doesn't require the File: prefix
map_caption caption for map above
map_alt alternative text for map for screen readers
mapsize width of map image. 300px by default.
connections list connections to other railway networks (Network Rail etc.)

Commercial operations

linename name of the railway in its pre-preservation state
builtby name of railway's constructor; most likely a railway company
originalgauge details of pre-preservation track gauge
originalrack details of pre-preservation rack system (if applicable)
originalelec details of pre-preservation electrification

Preserved operations

owned owner/maintainer of heritage railway's infrastructure etc.
operator current operator of heritage railway
marks reporting mark of the heritage railway
stations number of stations on heritage railway
length length of heritage railway in its current state
preservedgauge details of current track gauge
preservedrack details of current rack system (if applicable)
preservedelec details of current electrification
era [personally unsure of how to use this parameter]

Commercial history

com-years year of event of significant importance
com-events event of significant importance
com-years# [as above]
com-events# [as above]
* With "#" available from 1 to 12
closedpassengers year of end of passenger services
closed year of closure to all traffic

Preservation history

stageyears [retained for historical reasons, now superseded by years]
stage [retained for historical reasons, now superseded by events]
years year of event of importance to preservation
events event of importance to preservation
years# [as above]
events# [as above]
* With "#" available from 1 to 12
website Official website only. Either enter the full URL, as in |website=http://www.example.com/ or use the {{URL}} template as in |website={{URL|www.example.com}}
headquarters [headquarters]

Transcluding route map

routemap the buttom space for a route diagram. If your route map is built up by the templates of project:route diagram template, the whole map is best to be written in a separate templatebasing on {{BS-map}} with inline=1 parameter. This will prevent the map from breaking up in IE7 or older browsers. See West Coast Wilderness Railway for example.
routemap_name header title of the routemap section, Route map by default
routemap_state collapse state of the route map section. "Show" by default. Input collapsed to "hide" the map in the article by default.

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the place or venue has an "established", "founded", "opened" or similar date that is specific to the day, use {{start date}} unless the date is before 1583 CE. If it has a URL, use {{URL}}.

hCard uses HTML classes including:

  • adr
  • category
  • country-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • street-address
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.