Difference between revisions of "Template:Earthquakes in 2012"

From blackwiki
Jump to navigation Jump to search
imported>Dawnseeker2000
(article renamed)
imported>Dawnseeker2000
(drop "Major" – misleading)
Line 3: Line 3:
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| name  = Earthquakes in 2012
 
| name  = Earthquakes in 2012
| title = [[Template:Earthquakes in 2011|←]] <span class="summary">Major [[List of earthquakes in 2012|earthquakes in <span class="dtstart">2012</span>]]</span> [[Template:Earthquakes in 2013|→]]
+
| title = [[Template:Earthquakes in 2011|←]] <span class="summary">[[List of earthquakes in 2012|Earthquakes in <span class="dtstart">2012</span>]]</span> [[Template:Earthquakes in 2013|→]]
 
| bodyclass = hlist vevent
 
| bodyclass = hlist vevent
  

Revision as of 22:12, 25 April 2015

Initial visibility: currently defaults to autocollapse

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

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