Template:MetroStationInfobox: Difference between revisions

From Tyne and Wear Metro wiki
Changed "Fare zone" to "Fare zones"
Rename date parameters, add "Date closed before Metro" parameter and add "Other key dates" parameter
Line 53: Line 53:
     <th>Distance from datum</th>
     <th>Distance from datum</th>
     <td>[[Has distance from Gosforth datum::{{{Datum distance}}} km]]</td>
     <td>[[Has distance from Gosforth datum::{{{Datum distance}}} km]]</td>
  </tr>
}}
{{#if:{{{Metro opening date|}}}|
  <tr>
    <th>Metro opening date</th>
    <td>[[Has Metro opening date::{{{Metro opening date}}}]]</td>
  </tr>
}}
{{#if:{{{Original opening date|}}}|
  <tr>
    <th>Original opening date</th>
    <td>[[Has opening date::{{{Original opening date}}}]]</td>
   </tr>
   </tr>
}}
}}
Line 99: Line 87:
"CRS code": {
"CRS code": {
"type": "string"
"type": "string"
},
"Metro opening date": {
"type": "date"
},
},
"Nexus code": {
"Nexus code": {
Line 123: Line 108:
"Cycle parking spaces": {
"Cycle parking spaces": {
"type": "number"
"type": "number"
},
"Original opening date": {
"description": "When the station first opened, even if it was prior to Metro",
"type": "date"
},
},
"Platforms": {
"Platforms": {
Line 165: Line 146:
"description": "Comma-separated list of fare zones the station is in",
"description": "Comma-separated list of fare zones the station is in",
"example": "A,B,C,D",
"example": "A,B,C,D",
"type": "string"
},
"Date closed before Metro": {
"type": "date"
},
"Date originally opened": {
"description": "When the station first opened, even if it was prior to Metro",
"type": "date"
},
"Date opened for Metro": {
"type": "date"
},
"Other key dates": {
"description": "Semicolon-separated pairs, first part of each pair being the label and the second part of each pair being the date",
"example": "First event;1 January 2001;Second event;2 February 2002",
"type": "string"
"type": "string"
}
}
Line 182: Line 178:
"Fare zones",
"Fare zones",
"Datum distance",
"Datum distance",
"Metro opening date",
"Date originally opened",
"Original opening date",
"Date closed before Metro",
"Date opened for Metro",
"Other key dates",
"Has bus interchange",
"Has bus interchange",
"Has rail interchange",
"Has rail interchange",

Revision as of 14:49, 24 August 2025


Infobox for pages about a Metro station

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Station nameStation name

no description

Stringsuggested
ImageImage

no description

Fileoptional
Is on green lineIs on green line

no description

Booleanoptional
Is on yellow lineIs on yellow line

no description

Booleanoptional
Nexus codeNexus code Code

no description

Stringoptional
CRS codeCRS code

no description

Stringoptional
Alternative codesAlternative codes

Comma-separated

Stringoptional
PlatformsPlatforms

Semicolon-separated platforms, with each platform in the format NUMBER,ROUTE_CODE,LENGTH_IN_METERS

Example
1,23,46;2,24,56
Stringoptional
CoordinatesCoordinates Coords

Latitude,Longitude

Example
55.0057849,-1.6083021
Stringoptional
AddressAddress

no description

Stringoptional
Fare zonesFare zones

Comma-separated list of fare zones the station is in

Example
A,B,C,D
Stringoptional
Datum distanceDatum distance

The distance (when following rail) in kilometers the station is from the datum point in Gosforth Depot.

Numberoptional
Date originally openedDate originally opened

When the station first opened, even if it was prior to Metro

Dateoptional
Date closed before MetroDate closed before Metro

no description

Dateoptional
Date opened for MetroDate opened for Metro

no description

Dateoptional
Other key datesOther key dates

Semicolon-separated pairs, first part of each pair being the label and the second part of each pair being the date

Example
First event;1 January 2001;Second event;2 February 2002
Stringoptional
Has bus interchangeHas bus interchange

no description

Booleanoptional
Has rail interchangeHas rail interchange

no description

Booleanoptional
Car parking spacesCar parking spaces

no description

Numberoptional
Cycle parking spacesCycle parking spaces

no description

Numberoptional