Difference between revisions of "Template:Energy in Scotland"

From blackwiki
Jump to navigation Jump to search
imported>Cmacg68
(doc)
Line 15: Line 15:
  
 
| group3 =Companies and<br>organisations
 
| group3 =Companies and<br>organisations
| list3  =
+
| list3  = {{Navbox|subgroup
  {{Navbox|subgroup
 
 
   | evenodd=swap
 
   | evenodd=swap
 
   | groupwidth = 7em
 
   | groupwidth = 7em
Line 46: Line 45:
  
 
| group4 =[[List of power stations in Scotland|Active<br>power stations]]
 
| group4 =[[List of power stations in Scotland|Active<br>power stations]]
| list4  =
+
| list4  = {{Navbox|subgroup
  {{Navbox|subgroup
 
 
   | evenodd=swap
 
   | evenodd=swap
 
   | groupwidth = 7em
 
   | groupwidth = 7em
Line 100: Line 98:
  
 
| group5 =Decommissioned<br>power stations
 
| group5 =Decommissioned<br>power stations
| list5  =
+
| list5  = {{Navbox|subgroup
  {{Navbox|subgroup
 
 
   | groupwidth = 7em
 
   | groupwidth = 7em
  
Line 134: Line 131:
 
* {{icon|category}} '''[[:Category:Energy in Scotland|Category]]'''
 
* {{icon|category}} '''[[:Category:Energy in Scotland|Category]]'''
 
* {{Icon|Commons}} [[commons:Category:Energy in Scotland|'''Commons''']]
 
* {{Icon|Commons}} [[commons:Category:Energy in Scotland|'''Commons''']]
}}<noinclude>
+
 
 +
}}<noinclude>{{documentation|content=
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Scotland templates]]
 
[[Category:Scotland templates]]
 
[[Category:Power station navigational boxes]]
 
[[Category:Power station navigational boxes]]
</noinclude>
+
}}</noinclude>

Revision as of 21:21, 22 September 2017

Template documentation

Initial visibility: currently defaults to autocollapse

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

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