Difference between revisions of "Template:2007 railway accidents"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>Aight 2009
m
Line 10: Line 10:
 
* [[Brooks derailment|Brooks, United States]] (16 January)
 
* [[Brooks derailment|Brooks, United States]] (16 January)
 
* [[2007 Samjhauta Express bombings|Panipat, India]] (18 February)
 
* [[2007 Samjhauta Express bombings|Panipat, India]] (18 February)
* [[Grayrigg derailment|Grayrigg, England]] (23 February)
+
* [[Grayrigg derailment|Grayrigg, United Kingdom]] (23 February)
 
* [[Kerang train accident|Kerang, Australia]] (5 June)
 
* [[Kerang train accident|Kerang, Australia]] (5 June)
 
* [[Benaleka train accident|Benaleka, DR Congo]] (1 August)
 
* [[Benaleka train accident|Benaleka, DR Congo]] (1 August)

Revision as of 19:06, 8 August 2013

Initial visibility: currently defaults to autocollapse

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

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