Difference between revisions of "Template:Disasters"

From blackwiki
Jump to navigation Jump to search
imported>Joshoctober16
(more sub types)
imported>Joshoctober16
(more sub groups added)
Line 23: Line 23:
 
|group1 = [[Accident]]s
 
|group1 = [[Accident]]s
 
|list1 = {{Navbox|subgroup
 
|list1 = {{Navbox|subgroup
|group2 = Transport
+
|group1 = Transport
|list2 =  
+
|list1 = {{Navbox|subgroup
* [[Lists of rail accidents|Rail]]
+
|group1 = Ground
 +
|list1 =
 +
{{Rail accidents}}
 +
|group2 = Water
 +
|list2 =
 
* [[List of maritime disasters|Maritime]]  
 
* [[List of maritime disasters|Maritime]]  
 
* [[Lists of shipwrecks|Shipwreck]]  
 
* [[Lists of shipwrecks|Shipwreck]]  
* [[List of accidents and incidents involving commercial aircraft|Aircraft]]
+
|group3 = Air
* [[List of airship accidents|Airship]]
+
|list3 =
 +
{{Lists of aviation accidents and incidents}}
 +
|group4 = Space
 +
|list4 =
 
* [[List of spaceflight-related accidents and incidents|Spaceflight]]
 
* [[List of spaceflight-related accidents and incidents|Spaceflight]]
 +
}}
  
 
|group3 = [[List of industrial disasters|Industrial]]
 
|group3 = [[List of industrial disasters|Industrial]]

Revision as of 20:12, 5 January 2019

Initial visibility: currently defaults to autocollapse

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

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