Difference between revisions of "Template:Fire protection"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
imported>Frietjes
m (cleanup (wikitables, html markup, layout, etc.))
Line 2: Line 2:
 
| name      = Fire protection
 
| name      = Fire protection
 
| title      = [[Fire protection|{{color|white|Fire protection}}]]
 
| title      = [[Fire protection|{{color|white|Fire protection}}]]
 +
| state      = {{{state|autocollapse}}}
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle = background:red; color:white;
+
| basestyle  = background:red; color:white
| belowstyle = 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; border: red 1px solid;
+
| groupstyle = background: transparent; color:black; border: red 1px solid;
  
 
| group1 = General
 
| group1 = General
Line 14: Line 14:
  
 
| group2 = Fire suppression
 
| group2 = Fire suppression
| list2  = {{Navbox subgroup|evenodd=swap
+
| list2  =  
| groupstyle = background: transparent; border: red 1px solid;
+
  {{Navbox|subgroup
| group1 = Manual
+
  | evenodd   = swap
| list1  =  
+
  | groupstyle = background: transparent; border: red 1px solid;
 +
 
 +
  | group1 = Manual
 +
  | list1  =  
 
* [[Fire blanket]]
 
* [[Fire blanket]]
 
* [[Fire bucket]]
 
* [[Fire bucket]]
 
* [[Fire extinguisher]]
 
* [[Fire extinguisher]]
  
| group2 = [[Automatic fire suppression|{{color|black|Automatic}}]]
+
  | group2 = [[Automatic fire suppression|Automatic]]
| list2  =
+
  | list2  =  
 
* [[Condensed aerosol fire suppression]]
 
* [[Condensed aerosol fire suppression]]
 
* [[Fire sprinkler system]]
 
* [[Fire sprinkler system]]
 
** [[Fire sprinkler]]
 
** [[Fire sprinkler]]
 
* [[Gaseous fire suppression]]
 
* [[Gaseous fire suppression]]
}}
+
  }}
  
 
| group4 = Detection<!-- numbering for background color -->
 
| group4 = Detection<!-- numbering for background color -->
Line 47: Line 50:
  
 
| group6 = Awards
 
| group6 = Awards
| list6 =
+
| list6 =  
 
* [[Arthur B. Guise Medal]]
 
* [[Arthur B. Guise Medal]]
 
* [[Harry C. Bigglestone Award]]
 
* [[Harry C. Bigglestone Award]]
  
| below = {{icon|category}} {{Coloredlink|white|:Category:Fire protection|'''Category'''}} {{bull}} {{icon|commons}} {{Coloredlink|white|commons:Category:Fire protection|'''Commons'''}}
+
| below =  
 +
* {{icon|category}} {{Coloredlink|white|:Category:Fire protection|'''Category'''}}
 +
* {{icon|commons}} {{Coloredlink|white|commons:Category:Fire protection|'''Commons'''}}
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 16:03, 19 October 2015

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.