Difference between revisions of "Template:Electricity generation in the West Midlands"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Mordac
m (Ironbridge converted to biomass)
Line 26: Line 26:
 
   |groupwidth = 6em
 
   |groupwidth = 6em
 
   |groupstyle = font-weight:normal;
 
   |groupstyle = font-weight:normal;
   |group1 = Proposed
+
   |group1 = Active
 
   |list1  =
 
   |list1  =
 +
* [[Ironbridge power stations|Ironbridge B]]
 +
  |group2 = Proposed
 +
  |list2  =
 
* [[Baxterley Power Station|Baxterley]]
 
* [[Baxterley Power Station|Baxterley]]
 
   }}
 
   }}
Line 36: Line 39:
 
   |group1 = Active
 
   |group1 = Active
 
   |list1  =
 
   |list1  =
* [[Ironbridge power stations|Ironbridge B]]
 
 
* [[Rugeley power stations|Rugeley B]]
 
* [[Rugeley power stations|Rugeley B]]
 
   |group2 = Closed
 
   |group2 = Closed

Revision as of 12:03, 30 July 2015

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Electricity generation in the West Midlands|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Electricity generation in the West Midlands|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Electricity generation in the West Midlands|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.