Difference between revisions of "Template:ENSO events"

From blackwiki
Jump to navigation Jump to search
imported>TagaSanPedroAko
(Created template with {{navbox |name=|title=|list1=}})
 
imported>Andrybak
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = El Niño events
+
| name = ENSO events
|title = Major [[El Niño]] events
+
| title = Major [[El Niño–Southern Oscillation]] events
| list1     =[[1982–83 El Niño event]] - [[1997–98 El Niño event]] - [[2014–16 El Niño event]]
+
| state = {{{state|}}}
}}
+
| listclass = hlist
 +
 +
| group1 = [[El Niño]]
 +
| list1 =
 +
* [[1982–83 El Niño event|1982–83]]
 +
* [[1997–98 El Niño event|1997–98]]
 +
* [[2014–16 El Niño event|2014–16]]
 +
 
 +
| group2 = [[La Niña]]
 +
| list2 =
 +
* [[2010–12 La Niña event|2010–12]]
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Environment navigational boxes]]
 +
[[Category:Meteorology navigational boxes]]
 +
</noinclude>

Latest revision as of 17:23, 23 October 2020

Initial visibility: currently defaults to autocollapse

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

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