Difference between revisions of "Template:Energy in Wales"

From blackwiki
Jump to navigation Jump to search
imported>Mordac
m (Shotton gas plant closed)
imported>NSH002
(tidy up, rm duplicate parms, rm content category, fix redirect)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Energy in Wales
+
| name = Energy in Wales
|state = {{{state<includeonly>|collapsed</includeonly>}}}
+
| title = [[Energy]] in [[Wales]]
|title = [[Energy]] in [[Wales]]
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
|above = [[Energy in the United Kingdom]]
+
| listclass = hlist
|listclass = hlist
 
  
|group1 = Companies and organisations
+
| groupstyle = text-align: left;
| groupstyle = text-align: left;  
+
 
|list1 =
+
| above = [[Energy in the United Kingdom]]
* [[MANWEB]]  
+
 
* [[SWALEC]]  
+
| group1 = Companies and organisations
 +
| list1 =
 +
* [[MANWEB]]
 +
* [[SWALEC]]
 
* [[Western Power Distribution]]
 
* [[Western Power Distribution]]
  
|group2 = [[List of power stations in Wales|Power stations]]
+
| group2 = [[List of power stations in Wales|Power stations]]
| groupstyle = text-align: left;
+
| list2 = {{Navbox|child
|list2 = {{Navbox subgroup
+
  | groupstyle = text-align: left;background-color: #eee;
|group1 = [[Biomass]]
+
 
| groupstyle = text-align: left;background-color: #eee;
+
  | group1 = [[Biomass]]
|list1 = {{Navbox subgroup|evenodd=swap
+
  | list1 = {{Navbox|child
  |groupstyle = font-weight:normal;text-align: left;background-color: #eee;
+
    | evenodd = swap
  |group1 = Future
+
    | groupstyle = font-weight:normal;text-align: left;background-color: #eee;
  | groupstyle = text-align: left;background-color: #eee;
+
 
  | groupwidth = 5em
+
    | group1 = Future
  |list1 =
+
    | groupwidth = 5em
 +
    | list1 =
 
* [[Port Talbot Power Station|Port Talbot]]
 
* [[Port Talbot Power Station|Port Talbot]]
}}
+
 
|group2 = [[Fossil fuel power station|Coal-fired]]
+
  }}
|list2 = {{Navbox subgroup
+
 
  |groupstyle = font-weight:normal;text-align: left;background-color: #eee;
+
  | group2 = [[Fossil fuel power station|Coal-fired]]
  |group1 = Active
+
  | list2 = {{Navbox|child
  | groupwidth = 5em
+
    | groupstyle = font-weight:normal;text-align: left;background-color: #eee;
  | groupstyle = text-align: left;background-color: #eee;
+
    | groupwidth = 5em
  |list1=
+
 
* [[Aberthaw power stations|Aberthaw]]  
+
    | group1 = Active
  |group2 = Closed
+
    | list1 =
  | groupwidth = 5em
+
* [[Aberthaw power stations|Aberthaw]]
  |list2=
+
 
 +
    | group2 = Closed
 +
    | list2 =
 
* [[Llynfi Power Station|Llynfi]]
 
* [[Llynfi Power Station|Llynfi]]
 
* [[Rogerstone Power Station|Rogerstone]]
 
* [[Rogerstone Power Station|Rogerstone]]
 
* [[Uskmouth power stations|Uskmouth]]
 
* [[Uskmouth power stations|Uskmouth]]
}}
+
 
|group3 = [[Fossil fuel power station|Gas-fired]]
+
  }}
|list3 = {{Navbox subgroup
+
 
  |groupstyle = font-weight:normal;text-align: left;background-color: #eee;
+
  | group3 = [[Fossil fuel power station|Gas-fired]]
  |group1 = Active
+
  | list3 = {{Navbox|child
  | groupwidth = 5em
+
    | groupstyle = font-weight:normal;text-align: left;background-color: #eee;
  | groupstyle = text-align: left;background-color: #eee;
+
    | groupwidth = 5em
  |list1 =
+
 
* [[Baglan Bay power station|Baglan Bay]]  
+
    | group1 = Active
* [[Barry Power Station|Barry]]  
+
    | list1 =
* [[Connah's Quay Power Station|Connah's Quay]]  
+
* [[Baglan Bay power station|Baglan Bay]]
* [[Deeside Power Station|Deeside]]  
+
* [[Barry Power Station|Barry]]
* [[Pembroke Power Station|Pembroke]]  
+
* [[Connah's Quay Power Station|Connah's Quay]]
 +
* [[Deeside Power Station|Deeside]]
 +
* [[Pembroke Power Station|Pembroke]]
 
* [[Uskmouth power stations|Severn]]
 
* [[Uskmouth power stations|Severn]]
  |group2 = Future
+
 
  | groupstyle = text-align: left;background-color: #eee;
+
    | group2 = Future
  | groupwidth = 5em
+
    | list2 =
  |list2 =
+
* [[Port Talbot Power Station|Port Talbot]]
* [[Port Talbot Power Station|Port Talbot]]  
+
 
  |group3 = Closed
+
    | group3 = Closed
  | groupwidth = 5em
+
    | list3 =
  |list3=
 
 
* [[Shotton Power Station|Shotton]]
 
* [[Shotton Power Station|Shotton]]
}}
+
 
|group4 = [[Hydroelectricity|Hydroelectric]]
+
  }}
|list4 = {{Navbox subgroup
+
 
  |groupstyle = font-weight:normal;text-align: left;background-color: #eee;
+
  | group4 = [[Hydroelectricity|Hydroelectric]]
  |group1 = Active
+
  | list4 = {{Navbox|child
  | groupwidth = 5em
+
    | groupstyle = font-weight:normal;text-align: left;background-color: #eee;
  | groupstyle = text-align: left;background-color: #eee;
+
    | groupwidth = 5em
  |list1 =
+
 
 +
    | group1 = Active
 +
    | list1 =
 
* [[Cwm Dyli]]
 
* [[Cwm Dyli]]
* [[Dinorwig Power Station|Dinorwig]]  
+
* [[Dinorwig Power Station|Dinorwig]]
* [[Dolgarrog]]  
+
* [[Dolgarrog]]
* [[Ffestiniog Power Station|Ffestiniog]]  
+
* [[Ffestiniog Power Station|Ffestiniog]]
* [[Maentwrog]]  
+
* [[Maentwrog]]
* [[Swansea barrage|Swansea Bay]]
+
* [[Swansea Barrage|Swansea Bay]]
}}
+
 
|group5 = [[Nuclear power|Nuclear]]
+
  }}
|list5 = {{Navbox subgroup|evenodd=swap
+
 
  |groupstyle = font-weight:normal;text-align: left;background-color: #eee;
+
  | group5 = [[Nuclear power|Nuclear]]
  |group1 = Active
+
  | list5 = {{Navbox|child
  | groupwidth = 5em
+
    | evenodd = swap
  | groupstyle = text-align: left;background-color: #eee;
+
    | groupstyle = font-weight:normal;text-align: left;background-color: #eee;
  |list1 =
+
    | groupwidth = 5em
 +
 
 +
    | group1 = Active
 +
    | list1 =
 
* [[Wylfa Nuclear Power Station|Wylfa]]
 
* [[Wylfa Nuclear Power Station|Wylfa]]
  |group2 = Closed
+
 
  | groupstyle = text-align: left;background-color: #eee;
+
    | group2 = Closed
  | groupwidth = 5em
+
    | list2 =
  |list2 =
 
 
* [[Trawsfynydd nuclear power station|Trawsfynydd]] (decommissioned)
 
* [[Trawsfynydd nuclear power station|Trawsfynydd]] (decommissioned)
}}
+
 
|group6 = [[Petroleum|Oil-fired]]
+
  }}
|list6 = {{Navbox subgroup|evenodd=swap
+
 
  |groupstyle = font-weight:normal;text-align: left;background-color: #eee;
+
  | group6 = [[Petroleum|Oil-fired]]
  |group1 = Closed|
+
  | list6 = {{Navbox|child
  | groupstyle = text-align: left;background-color: #eee;
+
    | evenodd = swap
  | groupwidth = 5em
+
    | groupstyle = font-weight:normal;text-align: left;background-color: #eee;
  |list1 =
+
    | groupwidth = 5em
 +
 
 +
    | group1 = Closed|
 +
    | list1 =
 
* [[Pembroke Power Station|Pembroke]] (demolished)
 
* [[Pembroke Power Station|Pembroke]] (demolished)
}}
+
 
|group7 = [[Wind farm]]s
+
  }}
|list7 = {{Navbox subgroup
+
 
  |groupstyle = font-weight:normal; text-align: left;background-color: #eee;
+
  | group7 = [[Wind farm]]s
  |group1 = Active
+
  | list7 = {{Navbox|child
  | groupstyle = text-align: left;background-color: #eee;
+
    | groupstyle = font-weight:normal; text-align: left;background-color: #eee;
  | groupwidth = 5em
+
    | groupwidth = 5em
  |list1 =
+
 
* [[Alltwalis Wind Farm|Alltwalis]]  
+
    | group1 = Active
* [[Carno wind farm|Carno]]  
+
    | list1 =
* [[Cefn Croes Wind Farm|Cefn Croes]]  
+
* [[Alltwalis Wind Farm|Alltwalis]]
* [[Moel Maelogan]]  
+
* [[Carno wind farm|Carno]]
* [[North Hoyle Offshore Wind Farm|North Hoyle]]  
+
* [[Cefn Croes Wind Farm|Cefn Croes]]
 +
* [[Moel Maelogan]]
 +
* [[North Hoyle Offshore Wind Farm|North Hoyle]]
 
* [[Rhyl Flats]]
 
* [[Rhyl Flats]]
  |group2 = Future
+
 
  | groupwidth = 5em
+
    | group2 = Future
  |list2 =
+
    | list2 =
* [[Brechfa Forest Wind Farm|Brechfa Forest]]  
+
* [[Brechfa Forest Wind Farm|Brechfa Forest]]
 
* [[Gwynt y Môr]]
 
* [[Gwynt y Môr]]
 +
 +
  }}
 
  }}
 
  }}
}}
+
 
|below = {{icon|category}} '''[[:Category:Energy in Wales|Category]]'''
+
| below = {{icon|category}} '''[[:Category:Energy in Wales|Category]]'''
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Energy in Wales|†]]
 
 
[[Category:Wales templates]]
 
[[Category:Wales templates]]
 
[[Category:United Kingdom energy templates|Wales]]
 
[[Category:United Kingdom energy templates|Wales]]
 
[[Category:Power station navigational boxes|Wales]]
 
[[Category:Power station navigational boxes|Wales]]
 
</noinclude>
 
</noinclude>

Revision as of 06:05, 28 October 2014

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Energy in Wales|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Energy in Wales|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Energy in Wales|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.