Template:Infobox Manchester Metrolink station/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Infobox Manchester Metrolink station. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{Infobox Manchester Metrolink station}} is used to create an infobox embedded into articles about stations on the Manchester Metrolink network.
Usage
{{{name}}} | |
---|---|
Metrolink | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
Location | |
Place | {{{locale}}} |
Local authority | {{{borough}}} |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Grid reference | {{{gridref}}} |
Platforms | {{{platforms}}} |
Fare zone information | |
Metrolink Zone | {{{Metrolink Zone}}} |
Present status | In operation |
Operations | |
Original operator | {{{original}}} |
Pre-grouping company | {{{pregroup}}} |
Post-grouping company | {{{postgroup}}} |
History | |
Opened | {{{open}}} |
Closed as rail station | {{{closed}}} |
Conversion to Metrolink operation | {{{metrolinksince}}} |
Former name | {{{formername}}} |
Renamed | {{{renamed}}} |
Closed | {{{closed_mml}}} |
To insert the box into an article, simply copy and paste this code:
{{Infobox Manchester Metrolink station | name = | image = | image_size = | alt = | caption = | map_type = | label_position = | locale = | borough = | coordinates = <!-- use {{coord}} --> | gridref = | platforms = | Metrolink Zone = | status = <!-- number - see documentation --> | original = | pregroup = | postgroup = | open = | closed = | metrolinksince = | formername = | renamed = | closed_mml = | Metrolink line = <!-- number - see documentation --> | map_state = }}
Parameters
The parameters available are as follows; most are optional apart from those marked in red:
Basic info | |
---|---|
name | The name of the station |
image image_name |
image=Example.jpg (deprecated) - Also allows the image to be specified using the full image syntax, but for consistency between articles, do not specify type, location, alignment, or caption. E.g. |image=[[File:Example.jpg|260px|alt=A railway station with two platforms. There is a train at the left-hand platform]] Media related to Lua error in Module:Commons_link at line 62: attempt to index field 'wikibase' (a nil value). at Wikimedia Commons |
image_size imagesize |
image_size=240px If |image_size= is omitted, the default is 260px; for vertical format images, set |image_size=x260px .
|
alt image_alt |
alt= parameter is used for alternative image text. |
caption | A caption to go below the photo |
Location | |
locale | usually the suburb or local area where the station is situated |
borough | [[City of Manchester]] [[City of Salford]] or one of the metropolitan boroughs of Greater Manchester, e.g. [[Metropolitan Borough of Bury|Bury]]
|
coordinates map_type label_position |
map_type= should be omitted; it is available for use if larger-scale locator maps are created. Label position can be altered using |label_position= where needed, valid values are bottom , left , right , top ; default is bottom.When giving coordinates, use the {{coord}} template, and please don't be overly precise. The |format= parameter within {{coord}} may be used to convert coordinates in degree/minute/second format into decimal degrees. Region codes within {{coord}} should comply with ISO 3166-2:GB, e.g. use region:GB-BUR for the Metropolitan Borough of Bury; the default region is GB.
|
gridref | OS grid reference |
platforms | The number of platforms in use for Metrolink services |
Fare zone information | |
Metrolink Zone | the fare zone where the station is located - A, B, C, D (City Zone), E, F, G, or H |
status | Current status of the station - enter a numerical value from 1-5 (no text):
If you enter "3" for disused, the info about disused stations will also appear in the infobox. 5 (closed) is for purpose-built Metrolink stations that have now closed (only really applies to High Street and Mosley Street) |
Operations | |
For former railway stations converted to Metrolink use, these fields can be used to record historical operating companies such as British Rail, allowing this template to be used in place of Infobox UK disused station without losing historical info. This info only appears if you enter 3 (disused) in the status. | |
original | Company running the line when the station first opened |
pregroup | Company running the line prior to the Grouping Act (1921) (if different to the original company) |
postgroup | Company running the line after 1921 |
History | |
Additional historical info, mostly useful for converted railway stations | |
open | Date or year the station was first opened.
|
closed | The date the former BR station was closed to public use prior to conversion
|
metrolinksince | Date the station was converted to tram operation
|
formername | The original name of the station, if different to the present-day name |
renamed | The date when the station's name was changed (often the same as conversion from BR to Metrolink) |
closed_mml | The date the Metrolink station was closed to public use |
Metrolink route diagram | |
Metrolink line | The line where the station is located - enter a numerical value 1-9 only, no text:
Each number will enable the display of a different line diagram within the template. NB: Numbers not indicative of any official numbering system - just for template convenience |
map_state | Enter "collapsed" if you want to hide the route diagram at the bottom, otherwise it is visible by default |
Example
Piccadilly | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Metrolink | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Lua error in Module:Location_map at line 399: Malformed coordinates value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Location | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Place | Manchester city centre | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Local authority | City of Manchester | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Grid reference | SJ848978 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Platforms | 2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fare zone information | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Metrolink Zone | 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Present status | In operation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Operations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Original operator | Manchester Metrolink | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
History | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Opened | 20 July 1992 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{{Infobox Manchester Metrolink station | name = Piccadilly | image = Manchester Piccadilly station - Metrolink (4).JPG | caption = Piccadilly tram stop, showing the northbound (former departure) platform, the southbound platform is behind the concrete partition on the right. | locale = [[Manchester city centre]] | borough = [[City of Manchester]] | coordinates = {{coord|53.477|-2.230|region:GB-MAN|display=inline}} | gridref = SJ848978 | platforms = 2 | Metrolink Zone = 1 | status = 1 | original = Manchester Metrolink | open = 20 July 1992 | Metrolink line = 1 | map_state = collapsed }}
Tracking category