Jump to content

Template:Railway lines in Wales: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Pickle UK (talk | contribs)
mNo edit summary
If we're adding links to portals, there are other portals relevant to this template aside Wales.
 
(37 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{{Navbox
{| class="navbox collapsible autocollapse" style="margin:0 auto;"
|name = Railway lines in Wales
! colspan="2" style="background:#cecece;"| {{tnavbar-collapsible| [[List of railway lines in Great Britain#Railway lines in Wales|Railway lines in Wales]]:''' |Railway lines in Wales}}
|title = [[List of railway lines in Great Britain#Wales|Railway lines in Wales]]
|-
|state = {{{state|autocollapse}}}
! style="vertical-align:top; text-align:right;"| InterCity lines:
|listclass = hlist
| style="text-align:left;"|  [[North Wales Coast Line]] -  [[South Wales Main Line]] 

|-
|group1 = InterCity lines
! style="vertical-align:top; text-align:right;"| Main lines:
|list1 =
| style="text-align:left;"|  [[Gloucester to Newport Line|Gloucester-Newport Line]] -  [[Shrewsbury to Chester Line|Shrewsbury-Chester Line]] -  [[Welsh Marches Line]] 
* [[North Wales Main Line]]
|-
* [[South Wales Main Line]]
! style="text-align:right; vertical-align:top;"| Valley lines:

| style="text-align:left;"| <font color="#00ccff">&#9608;</font>&nbsp;[[Butetown Branch Line|Butetown Branch]] - <font color="ff9900">&#9608;</font>&nbsp;[[Cardiff City Line|City Line]] - <font color="ffcc00">&#9608;</font>&nbsp;[[Coryton Line]] - &nbsp;[[Ebbw Valley Line]] - <font color="996600">&#9608;</font>&nbsp;[[Maesteg Line]] - <font color="cc3300">&#9608;</font>&nbsp;[[Merthyr Line]] - <font color="996699">&#9608;</font>&nbsp;[[Rhondda Line]] - <font color="33cc00">&#9608;</font>&nbsp;[[Rhymney Line]] - <font color="0099cc">&#9608;</font>&nbsp;[[Vale of Glamorgan Line]]&nbsp;
|group2 = Main lines
|-
|list2 =
! style="text-align:right; vertical-align:top;"| Rural lines:
* [[Gloucester–Newport line]]
| style="text-align:left;"| &nbsp;[[Borderlands Line]] - &nbsp;[[Cambrian Line]] - &nbsp;[[Conwy Valley Line]] - &nbsp;[[Heart of Wales Line]] - &nbsp;[[West Wales Line]]&nbsp;
* [[Shrewsbury–Chester line]]
|-
* [[Welsh Marches line]]
|}<noinclude>

[[Category:Rail transport-related navigational boxes|{{PAGENAME}}]]
|group3 = [[Valleys & Cardiff Local Routes|Valleys & Cardiff<br/>Local Routes]]
[[Category:United Kingdom navigational boxes|{{PAGENAME}}]]
|list3 =
[[Category:Railway lines in Wales|{{PAGENAME}}]]
* {{legend inline|outline=darkgray|#{{CV colour|Butetown}}|[[Butetown branch line|Butetown Branch]]}}
[[Category:Welsh navigational boxes|{{PAGENAME}}]] </noinclude>
* {{legend inline|outline=darkgray|#{{CV colour|City}}|[[Cardiff City Line|City Line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Coryton}}|[[Coryton Line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Ebbw Vale}}|[[Ebbw Valley Railway|Ebbw Vale Line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Maesteg}}|[[Maesteg Line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Merthyr}}|[[Merthyr line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Rhondda}}|[[Rhondda line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Rhymney}}|[[Rhymney line]]}}
* {{legend inline|outline=darkgray|#{{CV colour|Vale of Glamorgan}}|[[Vale of Glamorgan Line]]}}

|group4 = Other lines
|list4 =
* [[Borderlands line]]
* [[Cambrian Line]]
* [[Conwy Valley line]]
* [[Heart of Wales line]]
* [[West Wales lines]]
* [[Swansea District line]]
* ''[[:Template:Heritage railways in Wales|Heritage railways]]''

|group5 = Service routes
|list5 =
* [[Premier Service]]
* [[Swanline]]
| belowclass = hlist
| below =
*{{portal-inline|Trains}}
*{{portal-inline|Wales}}

}}<noinclude>
{{collapsible option}}
[[Category:Templates for railway lines of Wales]]
[[Category:Railway lines in Wales|τ]]
[[Category:Rail transport navigational boxes of Wales]] </noinclude>

Latest revision as of 02:11, 5 January 2024

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{Railway lines in Wales|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Railway lines in Wales|state=expanded}} will show the template expanded, i.e. fully visible.