Difference between revisions of "Template:Fire protection"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (fix links)
imported>Frietjes
Line 6: Line 6:
 
| basestyle  = background:red; color:white
 
| basestyle  = background:red; color:white
 
| image      = [[File:Mircom Fire Alarm HornStrobe (crop).jpg|90px|link=Fire alarm system|alt=Fire alarm sensor]]
 
| image      = [[File:Mircom Fire Alarm HornStrobe (crop).jpg|90px|link=Fire alarm system|alt=Fire alarm sensor]]
| groupstyle = background: transparent; color:black; border: red 1px solid;
+
| groupstyle = background: transparent; color:black; {{box-shadow border|a|red|1px}}
  
 
| group1 = General
 
| group1 = General
Line 16: Line 16:
 
| list2  =  
 
| list2  =  
 
   {{Navbox|subgroup
 
   {{Navbox|subgroup
  | evenodd    = swap
+
   | groupstyle = background: transparent; {{box-shadow border|a|red|1px}}
   | groupstyle = background: transparent; border: red 1px solid;
 
  
 
   | group1 = Manual
 
   | group1 = Manual

Revision as of 14:19, 14 April 2018

Initial visibility: currently defaults to autocollapse

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

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