Difference between revisions of "Template:Firefighting"

From blackwiki
Jump to navigation Jump to search
imported>Epistulae ad Familiares
(Minimise WP:EASTEREGGS)
imported>PK2
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Firefighting
+
| name     = Firefighting
| title     = {{Colored link|white|Firefighting}}
+
| title     = {{Colored link|white|Firefighting}}
| bodyclass = hlist
+
| bodyclass = hlist
| state     = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
 
| border    = {{{border|}}}
 
| border    = {{{border|}}}
| titlestyle = background: #CE2029; color: white; <!--Fire Engine Red-->
+
| basestyle = background: #CE2029; color: white; <!--Fire Engine Red-->
| groupstyle = background: #e5575f; color: white;
+
| groupstyle = background: #e5575f;
| abovestyle = background: #CE2029; color: white;
 
| belowstyle = background: #CE2029; color: white;
 
  
 
| group1 = {{Colored link|white|Firefighter|Personnel}}
 
| group1 = {{Colored link|white|Firefighter|Personnel}}
Line 113: Line 111:
 
   | groupstyle = background: #ea797f; color: white;
 
   | groupstyle = background: #ea797f; color: white;
  
   | group1 = Equipment <br />and<br />tactics
+
   | group1 = Equipment <br />and tactics
 
   | list1  =  
 
   | list1  =  
 
* [[Aerial firefighting]]
 
* [[Aerial firefighting]]

Revision as of 12:44, 1 September 2020

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.