Difference between revisions of "Template:ISSF World Cup"

From blackwiki
Jump to navigation Jump to search
imported>Nickst
(2014)
imported>Zyxw
(add category, add state parameter and documentation)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = ISSF World Cup
+
| name = ISSF World Cup
|title = [[ISSF World Cup]] in [[ISSF shooting events|Olympic shooting events]]
+
| title = [[ISSF World Cup]] in [[ISSF shooting events|Olympic shooting events]]
|listclass = hlist
+
| state = {{{state|<includeonly>autocollapse</includeonly>}}}
|group1 = Without World Cup Final
+
| listclass = hlist
|list1 =
+
| group1 = Without World Cup Final
 +
| list1 =
 
* [[1986 ISSF World Cup|1986]]
 
* [[1986 ISSF World Cup|1986]]
 
* [[1987 ISSF World Cup|1987]]
 
* [[1987 ISSF World Cup|1987]]
|group2 = With World Cup Final
+
| group2 = With World Cup Final
|list2 =
+
| list2 =
 
* [[1988 ISSF World Cup|1988]]
 
* [[1988 ISSF World Cup|1988]]
 
* [[1989 ISSF World Cup|1989]]
 
* [[1989 ISSF World Cup|1989]]
Line 36: Line 37:
 
* [[2013 ISSF World Cup|2013]]
 
* [[2013 ISSF World Cup|2013]]
 
* [[2014 ISSF World Cup|2014]]
 
* [[2014 ISSF World Cup|2014]]
}}<noinclude>
+
}}<noinclude>{{Documentation | content=
</noinclude>
+
{{Collapsible option}}
 +
[[Category:Shooting navigational boxes]]
 +
}}</noinclude>

Revision as of 00:05, 12 February 2015

50px Template documentation

Initial visibility: currently defaults to autocollapse

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

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