Template:Stations&Locations/doc

From Festipedia, hosted by the FR Heritage Group
Jump to navigation Jump to search

{{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
  • year1
  • year2
  • year3
Up to 3 dates for significant events.
  • event1
  • event2
  • event3
Up to significant events. Make sure event numbers match the date numbers.
  • nextloc
  • nextloc2
  • nextloc3
Up to 3 locations heading towards Blaenau Ffestiniog
prevstat Previous station, i.e. next station towards Caernarfon
nextstat Next station towards Blaenau Ffestiniog
  • prevloc
  • prevloc2
  • prevloc3
Up to 3 previous locations, i.e. locations heading towards Caernarfon
  • nextloc
  • nextloc2
  • nextloc3
Up to 3 locations heading towards Blaenau Ffestiniog
facilities Customer facilities template. Choose from {{SL1}}, {{SL2}}, {{SL3}}, or {{SL4}}

Example[edit]

Stations&Locations/doc
DLG Minffordd 1.jpg
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
← Prev Station Next Station →
Boston Lodge Halt Penrhyn Station
← Prev Location Next Location →
Weigh House Crossing
Minffordd Yard
Cae Ednyfed
Gwyndy Bank
Customer Facilities
BSicon ACC legende.svg
BSicon BUS.svg
25 railtransportation.svg
BSicon PARKING.svg
Access Public Transport Rail Transport Parking
Stations | Locations | Bridges | Tunnels | Map

Coordinates: 52°55′33″N 4°05′02″W / 52.92595°N 4.08401°W / 52.92595; -4.08401

{{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]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Stations&Locations

An infobox for articles about stations and locations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Image name: abc.jpg, xpz.png, 123.gif, etc.

Unknownoptional
Captioncaption

Caption for image, if needed. Try to include date of photo and the photographer.

Unknownoptional
Typetype

Type of location

Unknownoptional
Statusstatus

Status of location

Unknownoptional
Bridge nameBridgename

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.

Unknownoptional
Tunnel nameTunnelname

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.

Unknownoptional
Bridge nameCrossname

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.

Unknownoptional
Construction No.Constnumb

The number assigned to the location during construction

Unknownoptional
Operational No.Opernumb

The operational number of the location

Unknownoptional
Latitudelatnorm

Latitude of location in form DD:MM:SS.SSW (or E)

Unknownoptional
Longitudelonnorm

Longitude of location in form DD:MM:SS.SSN (or S)

Unknownoptional
Latitudelatdec

Latitude of location in decimal form

Unknownoptional
Longitudelondec

Longitude of location in decimal form

Unknownoptional
Grid referenceosgr

Ordnance Survey grid reference

Unknownoptional
Wikipediawikipedia

URL of English Wikipedia article about the location

Unknownoptional
Significant dateyear1

Date of significant event

Unknownoptional
Significant eventevent1

Significant event

Unknownoptional
Significant dateyear2

Date of significant event

Unknownoptional
Significant eventevent2

Significant event

Unknownoptional
Significant dateyear3

Date of significant event

Unknownoptional
Significant eventevent3

Significant event

Unknownoptional
Previous stationprevstat

Previous station, i.e. next station towards Caernarfon

Unknownoptional
Next stationnextstat

Next station towards Blaenau Ffestiniog

Unknownoptional
Previous locationprevloc

Previous location, i.e. next location towards Caernarfon

Unknownoptional
Previous location twoprevloc2

Previous location, i.e. next location towards Caernarfon

Unknownoptional
Previous location threeprevloc3

Previous location, i.e. next location towards Caernarfon

Unknownoptional
Next locationnextloc

Next location towards Blaenau Ffestiniog

Unknownoptional
Next location twonextloc2

Next location towards Blaenau Ffestiniog

Unknownoptional
Next location threenextloc3

Next location towards Blaenau Ffestiniog

Unknownoptional
Facilitiesfacilities

Customer facilities template

Unknownoptional