Template:MetroStationInfobox: Difference between revisions
From Tyne and Wear Metro wiki
Hopperelec (talk | contribs) Hopefully I can remove thumb now |
Hopperelec (talk | contribs) Changed "Fare zone" to "Fare zones" |
||
Line 35: | Line 35: | ||
<th>Platforms</th> | <th>Platforms</th> | ||
<td>{{#invoke:MetroStationInfobox|platforms|{{{Platforms}}}}}</td> | <td>{{#invoke:MetroStationInfobox|platforms|{{{Platforms}}}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 105: | Line 99: | ||
"CRS code": { | "CRS code": { | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"Metro opening date": { | "Metro opening date": { | ||
Line 176: | Line 161: | ||
"description": "The distance (when following rail) in kilometers the station is from the datum point in Gosforth Depot.", | "description": "The distance (when following rail) in kilometers the station is from the datum point in Gosforth Depot.", | ||
"type": "number" | "type": "number" | ||
}, | |||
"Fare zones": { | |||
"description": "Comma-separated list of fare zones the station is in", | |||
"example": "A,B,C,D", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 188: | Line 178: | ||
"Alternative codes", | "Alternative codes", | ||
"Platforms", | "Platforms", | ||
"Coordinates", | "Coordinates", | ||
"Address", | "Address", | ||
"Fare zones", | |||
"Datum distance", | "Datum distance", | ||
"Metro opening date", | "Metro opening date", |
Revision as of 13:04, 24 August 2025
Infobox for pages about a Metro station
Parameter | Description | Type | Status | |
---|---|---|---|---|
Station name | Station name | no description | String | suggested |
Image | Image | no description | File | optional |
Is on green line | Is on green line | no description | Boolean | optional |
Is on yellow line | Is on yellow line | no description | Boolean | optional |
Nexus code | Nexus code Code | no description | String | optional |
CRS code | CRS code | no description | String | optional |
Alternative codes | Alternative codes | Comma-separated | String | optional |
Platforms | Platforms | Semicolon-separated platforms, with each platform in the format NUMBER,ROUTE_CODE,LENGTH_IN_METERS
| String | optional |
Coordinates | Coordinates Coords | Latitude,Longitude
| String | optional |
Address | Address | no description | String | optional |
Fare zones | Fare zones | Comma-separated list of fare zones the station is in
| String | optional |
Datum distance | Datum distance | The distance (when following rail) in kilometers the station is from the datum point in Gosforth Depot. | Number | optional |
Metro opening date | Metro opening date | no description | Date | optional |
Original opening date | Original opening date | When the station first opened, even if it was prior to Metro | Date | optional |
Has bus interchange | Has bus interchange | no description | Boolean | optional |
Has rail interchange | Has rail interchange | no description | Boolean | optional |
Car parking spaces | Car parking spaces | no description | Number | optional |
Cycle parking spaces | Cycle parking spaces | no description | Number | optional |