Template:Infobox MTR/doc
| This is a documentation subpage for Template:Infobox MTR. It contains usage information, categories and other content that is not part of the original template page. |
Blank syntax
|
Basic parameters {{Infobox MTR
| enname =
| zhname =
| image =
| caption =
| zone =
| area =
| district =
| coordinatesN =
| coordinatesE =
| connections =
| structure =
| platformno =
| platformtype =
| tracks =
| levels =
| ADA =
| owned =
| open =
| open2 =
| services =
}}
|
All parameters {{Infobox MTR
| enname =
| zhname =
| image =
| image_size =
| caption =
| line =
| line2 =
| line3 =
| line4 =
| lrt_routes =
| zone =
| code =
| area =
| district =
| coordinatesN =
| coordinatesE =
| latd =
| latm =
| lats =
| latNS =
| longd =
| longm =
| longs =
| longEW =
| connections =
| structure =
| platformno =
| platformtype =
| tracks =
| depth =
| levels =
| ADA =
| former =
| owned =
| open =
| open2 =
| open3 =
| open4 =
| closed =
| rebuilt =
| electrified =
| services =
| passengers =
| pass_year =
}}
|
Parameters/TemplateData
Infobox for MTR station articles
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name in English | enname | Name of the station or stop in English | String | required |
| Name in Chinese | zhname | Name of the station in Chinese | String | optional |
| Image | image | Image of the station | File | optional |
| Image size | image_size | Size in pixels of the image of the station | String | optional |
| Image caption | caption | Caption to be placed under the image of the station | String | optional |
| Street address | area | Street address of the station (street name, area; both linked) | String | optional |
| District | district | District the station is in | Page | optional |
| Latitude | coordinatesN | Latitude of the station. The coordinates of the station may be specified with decimal degrees using this field, or specified in degrees/minutes/seconds, using the Latitude (degrees/minutes/seconds/NS) fields. | Number | optional |
| Longitude | coordinatesE | Longitude of the station. The coordinates of the station may be specified with decimal degrees using this field, or specified in degrees/minutes/seconds, using the Longitude (degrees/minutes/seconds/EW) fields. | Number | optional |
| Latitude (degrees) | latd | Latitude (degrees) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (minutes/seconds/NS) fields, or with decimal degrees using the coordinatesN field. | Number | optional |
| Latitude (minutes) | latm | Latitude (minutes) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/seconds/NS) fields, or with decimal degrees using the coordinatesN field. | Number | optional |
| Latitude (seconds) | lats | Latitude (seconds) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/minutes/NS) fields, or with decimal degrees using the coordinatesN field. | Number | optional |
| Latitude (NS) | latNS | Latitude (NS) of the station. Use 'N' or 'S'. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/minutes/seconds) fields, or with decimal degrees using the coordinatesN field. | Line | optional |
| Longitude (degrees) | longd | Longitude (degrees) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Longitude (minutes/seconds/NS) fields, or with decimal degrees using the coordinatesE field. | Number | optional |
| Longm | longm | Longitude (minutes) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Longitude (degrees/seconds/NS) fields, or with decimal degrees using the coordinatesE field. | Number | optional |
| Longs | longs | Longitude (seconds) of the station. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Longitude (degrees/minutes/NS) fields, or with decimal degrees using the coordinatesE field. | Number | optional |
| LongEW | longEW | Longitude (EW) of the station. Use 'E' or 'W'. The coordinates of the station may be specified in degrees/minutes/seconds, using this field and the other Latitude (degrees/minutes/seconds) fields, or with decimal degrees using the coordinatesE field. | Line | optional |
| Connecting line | line | Line that the station connects to | String | required |
| Light Rail routes | lrt_routes | (Light Rail only) Light Rail lines that the stop connects to | String | optional |
| Second connecting line | line2 | Line that the station connects to | String | optional |
| Third connecting line | line3 | Line that the station connects to | String | optional |
| Fourth connecting line | line4 | Line that the station connects to | String | optional |
| Transport connections | connections | Other modes of public transport that the station connects to; if values are other than bus, public light bus, or tram, can have a link to the article about the mode of transport (e.g. [[Peak Tram]]) | String | optional |
| Structure type | structure | Structure of the station (at-grade, underground, elevated) | String | optional |
| Platforms | platformno | Number of platforms that the station has | Number | optional |
| Type of platforms | platformtype | Type(s) of platform that the station has (island platform(s), side platform(s), split level side platforms) | String | optional |
| Depth of station | depth | Depth of the station, in metres | Number | optional |
| Levels | levels | Number of levels of platforms at the station | Number | optional |
| Tracks | tracks | Number of tracks that the station has; same as platformno unless otherwise specified | Number | optional |
| Opening date | open | Opening date of the station or its first opening date. If more than one opening date, line name(s) in brackets afterward | String | optional |
| Second opening date | open2 | Second opening date. Line name(s) in brackets afterward | String | optional |
| Third opening date | open3 | Third opening date. Line name(s) in brackets afterward | String | optional |
| Fourth opening date | open4 | Fourth opening date. Line name(s) in brackets afterward | String | optional |
| Closing date | closed | Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only) | String | optional |
| Rebuilding date | rebuilt | Date station last received a rebuild | String | optional |
| Electrification date | electrified | Date station was electrified, if not previously at date of opening. | Date | optional |
| Accessible? (non-empty if yes) | ADA | If any text is placed here a universal symbol for accessible will appear | Line | optional |
| MTR station code | code | Three-letter (three-digit integer for Light Rail) station code of the station | String | optional |
| Station owner | owned | Station owner name, with link to article about station owner
| Page | optional |
| Fare zone | zone | (Light Rail only) Fare zone the station is in (1, 2, 3, 4, 5A, 5) | String | optional |
| Former names | former | Former station name(s) | String | optional |
| Passenger traffic | passengers | Number of passengers using the station. In the reference, please make it clear if this figure is per day, per year, etc. | String | optional |
| Service rail/line templates | services | Allows inclusion of the {{s-rail}}/{{s-line}} boxes | String | optional |
Most of these are the same as {{Infobox station}} parameters.
Notes
- services –
{{s-rail|title=HK-MTR}}is automatically added at beginning. - line, line2, line3, line4 – must be valid values of {{HK-MTR icon}}.
- open, open2, open3, open4 – dates must be wrapped in {{start-date}}.
- The colour of the header and section headers is defined using Module:HK-MTR stations, or a custom style page if necessary.
- Currently DMS coordinates are only displayed in the map and not inline or at the title. Please convert DMS coordinates to decimal coordinates.
Examples
Infobox of Fortress Hill Station, which transcludes {{Infobox station}} and invokes Module:HK-MTR stations
Platform 1 | |
| Connections | Bus, public light bus, tram |
| Construction | |
| Structure type | Underground |
| Platform levels | 1 |
| Disabled access | Yes |
| Services | |
| Template:S-rail-start Template:S-end | |
Script error: No such module "Parameter validation".
{{Infobox MTR
| enname = Fortress Hill
| zhname = 炮台山
| image = Fortress Hill Station 2014 04 part1.JPG
| caption = Platform 1
| area = [[King's Road, Hong Kong|King's Road]], [[Fortress Hill]]
| district = [[Eastern District, Hong Kong|Eastern District]]
| coordinatesN = 22.2881
| coordinatesE = 114.1936
| connections = Bus, public light bus, tram
| structure = Underground
| platformno = 2
| platformtype = island platform
| levels = 1
| ADA = yes
| open = {{start-date|31 May 1985}}
| services = {{s-line|system=HK-MTR|line=Island|previous=Tin Hau|next=North Point}}
}}
See also
- {{Infobox station}}
- {{Infobox MTR station}}