Jump to content

Wikipedia:WikiProject UK Railways/Templates

From Wikipedia, the free encyclopedia

Line navigation templates

[edit]

Networks navigation templates

[edit]

Station infoboxes

[edit]

See also Category:Rail transport infobox templates

Station navigation boxes

[edit]

See also Category:Rail transport navigational boxes

Route information

[edit]

Please read discussion now going on suggesting that Wikipedia is NOT a timetable - see Talk page

  • Start templates
    • {{Rail start}} start of route information box for national rail. Headings for preceding and following station and a link to national rail
    • {{Disused rail start}} start of disused route information (for disused tracks). Heading for preceding and following station and a link to the disused rail category
    • {{Historical Rail Start}} start of information of the Original Line info (for historic services over tracks still in use). Heading for preceding and following station.
  • Line templates |next= / |previous= are the stations served on either side; |route= is the company and/or route, |col= is the colour of the dividing columns (see Template talk:Rail line if in doubt). For Historical Lines in Scotland, the colour corresponds to that relating to the pre-1923 company as given in WPTIS Talk Page. Where there is more than one route, |previous1= is the stations on the first route, |previous2= is on the second route, etc. Omission of either |next= or |previous= will generally cause a default to Terminus, but this is not the case for |next1=, |previous1= etc.
    • {{Rail line}} Details of the rail line stopping at the station. Parameters: | previous= | next= | route= | col=
There are also many variants to deal with merging lines. In the examples below, {{{col}}} is blue , {{{col1}}} is yellow , {{{col2}}} is red and {{{col3}}} is green .
{{Rail line|previous=|next=|route=|col=}}
{{{previous}}}   {{{route}}}   {{{next}}}
{{Rail line one to three|previous=|col=
|next1=|route1=|next2=|route2=|next3=|route3=}}
Terminus   {{{route1}}}   Terminus
  {{{route2}}}   Terminus
  {{{route3}}}   Terminus
{{Rail line one to two|previous=|col=
|next1=|route1=|next2=|route2=}}
{{{previous}}}   {{{route1}}}   Terminus
  {{{route2}}}   Terminus
{{Rail line one to two|previous=|col1=
|next1=|route1=|col2=|next2=|route2=}}
{{{previous}}}   {{{route1}}}   Terminus
  {{{route2}}}   Terminus
{{Rail line one to two|previous=|col=
|route=|next1=|next2=}}
{{{previous}}}   {{{route}}}   Terminus
    Terminus
{{Rail line three to one|next=|col=
|previous1=|route1=|previous2=
|route2=|previous3=|route3=}}
Terminus   {{{route1}}}   Terminus
Terminus   {{{route2}}}  
Terminus   {{{route3}}}  
{{Rail line three routes|previous=|next=
|route1=|col1=|route2=|col2=|route3=|col3=}}
Terminus   {{{route1}}}   Terminus
  {{{route2}}}  
  {{{route3}}}  
{{Rail line two routes|previous=|next=
|route1=|col1=|route2=|col2=}}
Terminus   {{{route1}}}   Terminus
  {{{route2}}}  
{{Rail line two to one|next=|col=
|previous1=|route1=|previous2=|route2=}}
Terminus   {{{route1}}}   {{{next}}}
Terminus   {{{route2}}}  
{{Rail line two to one|next=|col1=
|previous1=|route1=|col2=|previous2=|route2=}}
Terminus   {{{route1}}}   {{{next}}}
Terminus   {{{route2}}}  
{{Rail line two to one|next=|col=
|route=|previous1=|previous2=}}
Terminus   {{{route}}}   {{{next}}}
Terminus    
{{Rail line two to two|route=|col=
|previous1=|next1=|previous2=|next2=}}
Terminus   {{{route}}}   Terminus
Terminus     Terminus
  • Insert templates Separate sections where there is more than one mode at station.
  • End templates
    • {{End box}} Finishes the box off after one or more line templates.
  • Generic templates
    • {{S-start}} start of route information box
    • {{S-rail}} heading for a mode of transport
    • {{S-line}} details of the rail line stopping at the station

Railway company, lines, etc. infoboxes

[edit]

See also Category:Rail transport infobox templates

Railway company and line navigation boxes

[edit]

See also Category:Rail transport navigational boxes

Train operating companies

[edit]

Locomotive and stock infoboxes

[edit]

See also Category:Rail transport infobox templates

Locomotive and stock navigation boxes

[edit]

See also Category:Rail transport navigational boxes

Track gauges

[edit]

See {{track gauge}} for details

Stub templates

[edit]

Passenger usage templates

[edit]

To be used only on line and train service articles

  • {{GBsta-u}}
    • {{GBsta-u A}} - Must be used in conjuction with the above one. See the above template for documentation
    • {{GBsta-u B}} - See above documentation

Project templates

[edit]
  • {{User UKRail}} - Userbox for project participants
  • {{WikiProject Trains}} - To be placed on talk page of relevant articles, but be sure to add the add UK=yes parameter.