Template:Stations&Locations/doc
This is a documentation subpage for Template:Stations&Locations (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
{{Stations&Locations}} can be used to summarise information about a station or location, usually at the top of an article. If co-ordinates for the location are given in decimal format it invokes {{coord}} to display the co-ordinates at the top of the page.
Usage[edit]
The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.
{{Stations&Locations | image = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] --> | caption = | type = | status = | Bridgename = | Tunnelname = | Crossname = | Constnumb = | Opernumb = | latnorm = <!-- latitude of location in format DD:MM:SS.SSN --> | lonnorm = <!-- longitude of location in format DD:MM:SS.SSW --> | latdec = <!-- latitude of location in decimal format --> | londec = <!-- longitude of location in decimal format --> | osgr = <!-- Ordnance Survey grid reference --> | wikipedia = <!-- url of article in English Wikipedia --> | year1 = <!-- Year of significant event (Up to three) --> | event1 = <!-- Significant event (Up to three) --> | year2 = | event2 = | year3 = | event3 = | prevstat = <!-- previous station (i.e. next station towards Caernarfon> --> | nextstat = <!-- next station towards Blaenau Ffestiniog --> | prevloc = <!-- previous location (up to three) --> | prevloc2 = | prevloc3 = | nextloc = <!-- next location (up to three) --> | nextloc2 = | nextloc3 = | facilities = <!-- Customer facilities template --> }}
Parameters[edit]
Any parameters left blank or omitted will not be displayed.
Parameter | Explanation |
---|---|
image | Image name: abc.jpg, xpz.png, 123.gif, etc. |
caption | Caption for image, if needed. Try to include date of photo and the photographer. |
type | Type of location |
status | Status of location, e.g. Open |
Bridgename | If the location is a bridge, the name of the bridge. As the name of the location appears at the top of the infobox this should normally be omitted. |
Tunnelname | If the location is a tunnel, the name of the tunnel. As the name of the location appears at the top of the infobox this should normally be omitted. |
Crossname | If the location is a crossing, the name of the crossing. As the name of the location appears at the top of the infobox this should normally be omitted. |
Constnumb | The number assigned to the location during construction |
Opernumb | The operational number of the location |
latnorm | Latitude of location in form DD:MM:SS.SSW (or E) |
lonnorm | Longitude of location in form DD:MM:SS.SSN (or S) |
latdec | Latitude of location in decimal format |
londec | Longitude of location in decimal format |
osgr | Ordnance Survey grid reference |
wikipedia | URL of English Wikipedia article about the location |
|
Up to 3 dates for significant events. |
|
Up to significant events. Make sure event numbers match the date numbers. |
|
Up to 3 locations heading towards Blaenau Ffestiniog |
prevstat | Previous station, i.e. next station towards Caernarfon |
nextstat | Next station towards Blaenau Ffestiniog |
|
Up to 3 previous locations, i.e. locations heading towards Caernarfon |
|
Up to 3 locations heading towards Blaenau Ffestiniog |
facilities | Customer facilities template. Choose from {{SL1}}, {{SL2}}, {{SL3}}, or {{SL4}} |
Example[edit]
Stations&Locations/doc | |||||||||
---|---|---|---|---|---|---|---|---|---|
David Lloyd George arrives at Minffordd. | |||||||||
Type | Station | ||||||||
Status | Open | ||||||||
Location | |||||||||
Latitude | 52:55:33.45N | ||||||||
Longitude | 04:05:02.13W | ||||||||
Grid reference | SH600385 | ||||||||
History | |||||||||
1872 | Opened | ||||||||
1939 | Closed | ||||||||
1956 | Re-opened | ||||||||
Route Navigator | |||||||||
| |||||||||
Customer Facilities | |||||||||
| |||||||||
Stations | Locations | Bridges | Tunnels | Map |
{{Stations&Locations| |image = DLG Minffordd 1.jpg |caption = [[David Lloyd George]] arrives at Minffordd. |type = Station |status = Open |prevstat = [[Boston Lodge Halt]] |nextstat = [[Penrhyn Station]] |prevloc = [[Weigh House Crossing]] |nextloc = [[Cae Ednyfed]] |prevloc2 = [[Minffordd Yard]] |nextloc3 = [[Gwyndy Bank]] |year1 = 1872 |event1 = Opened |year2 = 1939 |event2 = Closed |year3 = 1956 |event3 = Re-opened |latnorm = 52:55:33.45N |lonnorm = 04:05:02.13W |latdec = 52.92595 |londec = -4.08401 |osgr = SH600385 |facilities = {{SL4}} |}}
TemplateData[edit]
TemplateData for Stations&Locations
An infobox for articles about stations and locations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Image name: abc.jpg, xpz.png, 123.gif, etc. | Unknown | optional |
Caption | caption | Caption for image, if needed. Try to include date of photo and the photographer. | Unknown | optional |
Type | type | Type of location | Unknown | optional |
Status | status | Status of location | Unknown | optional |
Bridge name | Bridgename | If the location is a bridge, the name of the bridge. As the name of the location appears at the top of the infobox this should normally be omitted. | Unknown | optional |
Tunnel name | Tunnelname | If the location is a tunnel, the name of the tunnel. As the name of the location appears at the top of the infobox this should normally be omitted. | Unknown | optional |
Bridge name | Crossname | If the location is a crossing, the name of the crossing. As the name of the location appears at the top of the infobox this should normally be omitted. | Unknown | optional |
Construction No. | Constnumb | The number assigned to the location during construction | Unknown | optional |
Operational No. | Opernumb | The operational number of the location | Unknown | optional |
Latitude | latnorm | Latitude of location in form DD:MM:SS.SSW (or E) | Unknown | optional |
Longitude | lonnorm | Longitude of location in form DD:MM:SS.SSN (or S) | Unknown | optional |
Latitude | latdec | Latitude of location in decimal form | Unknown | optional |
Longitude | londec | Longitude of location in decimal form | Unknown | optional |
Grid reference | osgr | Ordnance Survey grid reference | Unknown | optional |
Wikipedia | wikipedia | URL of English Wikipedia article about the location | Unknown | optional |
Significant date | year1 | Date of significant event | Unknown | optional |
Significant event | event1 | Significant event | Unknown | optional |
Significant date | year2 | Date of significant event | Unknown | optional |
Significant event | event2 | Significant event | Unknown | optional |
Significant date | year3 | Date of significant event | Unknown | optional |
Significant event | event3 | Significant event | Unknown | optional |
Previous station | prevstat | Previous station, i.e. next station towards Caernarfon | Unknown | optional |
Next station | nextstat | Next station towards Blaenau Ffestiniog | Unknown | optional |
Previous location | prevloc | Previous location, i.e. next location towards Caernarfon | Unknown | optional |
Previous location two | prevloc2 | Previous location, i.e. next location towards Caernarfon | Unknown | optional |
Previous location three | prevloc3 | Previous location, i.e. next location towards Caernarfon | Unknown | optional |
Next location | nextloc | Next location towards Blaenau Ffestiniog | Unknown | optional |
Next location two | nextloc2 | Next location towards Blaenau Ffestiniog | Unknown | optional |
Next location three | nextloc3 | Next location towards Blaenau Ffestiniog | Unknown | optional |
Facilities | facilities | Customer facilities template | Unknown | optional |