Difference between revisions of "Template:Firefighting"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
m (Reverted edits by 36.102.223.115 (talk) to last version by MarkZusab)
Line 4: Line 4:
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
| titlestyle = background: #D90000; color: white; <!--Fire Engine Red-->
+
| titlestyle = background: #CE2029; color: white; <!--Fire Engine Red-->
 
| groupstyle = background: #e5575f; color: white;
 
| groupstyle = background: #e5575f; color: white;
| abovestyle = background: #D90000; color: white;
+
| abovestyle = background: #CE2029; color: white;
| belowstyle = background: #D90000; color: white;
+
| belowstyle = background: #CE2029; color: white;
  
 
| group1 = {{Colored link|white|Firefighter|Personnel}}
 
| group1 = {{Colored link|white|Firefighter|Personnel}}

Revision as of 05:53, 23 December 2018

Initial visibility: currently defaults to autocollapse

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

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