మూస:Infobox UK disused station/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

Usage[మార్చు]

{{Infobox UK disused station
| name        = 
| locale      = 
| borough     = 
| image_name  = 
| caption     = 
| original    = 
| pregroup    = 
| postgroup   = 
| platforms   = 
| latitude    = 
| longitude   = 
| gridref     = 
| years       = {{Start date|YYYY|MM|DD|df=yes}}
| events      = 
| years1      = 
| events1     = 
| years2      = 
| events2     = 
| years3      = 
| events3     = 
| years4      = 
| events4     = 
| years5      = 
| events5     = 
| years6      = 
| events6     = 
| years7      = 
| events7     = 
| years8      = 
| events8     = 
| other_name  = 
}}

Optional fields[మార్చు]

When an operational station is closed, the usage figures will come across to this template via these fields. In general they will have already been added as part of the {{Infobox GB station}}

 | usage0203   = 0.764            
 | usage0405   = 0.764            
 | usage0506   = 0.764           
 | usage0607   = 0.764           
 | usage0708   = 0.764           
 | usage0809   = 0.764           
 | lowusage0203= 5,250 
 | lowusage0405= 5,250 
 | lowusage0506= 5,250
 | lowusage0607= 5,250
 | lowusage0708= 5,250
 | lowusage0809= 5,250

Note: either the 'usage' or the 'lowusage' fields may be used, but not both sets. For 'usage', figures should be expressed in millions, whilst for 'lowusage', figures should be in units.

Alternative forms[మార్చు]

| image       = 
| line        = 
| manager     = 
| owner       = 
  • The |image= parameter allows the full image syntax to be used. |image=[[File:Example.jpg|265px]] is exactly equivalent to |image_name=Example.jpg
  • The |manager= and |owner= parameters are equivalent to |pregroup= and |postgroup= respectively.
  • Note that if both alternative and equivalent are given, both will be displayed.
  • Previously, |line= was similarly treated as equivalent to |original=, but it now displays as Line. As a temporary measure, the use of |line= will place the article in hidden Category:Unusual parameters of Infobox station template so that they can be evaluated whether |original= was intended.

Example[మార్చు]

{{Infobox UK disused station 
| name        = [[Uplawmoor]]
| locale      = [[Uplawmoor]]
| borough     = [[Renfrewshire]]
| image_name  = Uplawmoorstation11.JPG 
| caption     = Uplawmoor station site in 2007
| original    = [[Lanarkshire and Ayrshire Railway]]
| pregroup    = [[Caledonian Railway]]
| postgroup   = [[London Midland and Scottish Railway]]
| platforms   = 2
| latitude    = 
| longitude   = 
| gridref     = 
| image       = [[Image:Uplawmoorstation11.JPG|265px]]
| line        = [[Lanarkshire and Ayrshire Railway]]
| manager     = [[Caledonian Railway]]
| owner       = [[London Midland and Scottish Railway]]
}}
In each case, use a wikilink, piped where necessary in order to hide text like "Metropolitan Borough of ", " (district)", etc. Examples: |borough=[[Rutland]]; |borough=[[Bedford Borough|Bedford]]; |borough=[[Epping Forest District|Epping Forest]]; |borough=[[Highland (council area)|Highland]]; |borough=[[Bridgend County Borough|Bridgend]]

When displaying an image either 'image' or 'image_name' should be used, not both. The 'image' field allows an image width to be specified, while 'image_name' automatically sets the width to 265px (preferred).

When identifying the original company and pre-grouping company 'original' and ' pregroup' should be used. In the event that the station is reopened (for example - Alloa railway station, it will not conflict with the infobox for open stations. The 'line' and ' manager' fields refer to the initial setup of the template and should be avoided to prevent this possible conflict.

The 'original' field refers to the company that originally founded the station if different from the 'manager' field.

The 'pregroup' field refers to the historical railway company that owned and/or maintained the station prior to the 1923 grouping.

The 'postgroup' field refers to the Big Four company that took over after the 1923 grouping.

Legacy fields[మార్చు]

The 'line' field refers to the company that originally founded the station if different from the 'manager' field.
The 'manager' field refers to the historical railway company that owned and/or maintained the station prior to the 1923 grouping.
The 'owner' field refers to the Big Four company that took over after the 1923 grouping.

Note: latitude must be present if longitude is present, and vice versa, and they should have the same number of decimal places (trailing zeroes are significant). Four decimal places are recommended for disused stations as in a lot of cases a former station site may be difficult to locate: four will allow some extra precision.

By default, latitude and longitude are displayed both in the infobox and at upper right. To show coordinates in the infobox only, add |coord_display=inline to the infobox. This is useful where one article has more than one infobox.

Additional events[మార్చు]

| years       = 1 May 1903
| events      = Opened
| years1      = 1 January 1917
| events1     = Closed
| years2      = 1 February 1919
| events2     = Reopened
| years4      = 2 April 1962
| events4     = Closed to regular services
| years5      = 
| events5     = 
| years6      = 
| events6     = 
| years7      = 
| events7     = 
| years8      = 
| events8     = 

Microformats[మార్చు]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[మార్చు]

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[మార్చు]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

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

Precision[మార్చు]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

See also[మార్చు]