ഫലകം:Infobox heritage railway/doc
This is a documentation subpage for ഫലകം:Infobox heritage railway. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
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_width = | image_alt = | caption = | color = | locale = | terminus = | coordinates = {{coord}} | 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 = }}
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 | another image, usually a photo of the facility or the train, parameter functions more similar to the logo parameter so you don't need to enter the full syntax for the image. Alternatively this parameter actually gives you freedom to put anything other than image inside, but be sensible. |
image_width | width of the image of image parameter. 300px by default. |
image_alt | alt attribute of the image of image parameter |
caption | caption text below the image rendering |
locale | locale of railway; county or local authority, etc. |
terminus | main terminus of the railway |
coordinates | coordinates of principal station (where relevant) – use {{coord}} with region; region codes should comply with ISO 3166-2, e.g. region:GB. |
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=
|
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.