Difference between revisions of "Template:Current national cricket captains"

From blackwiki
Jump to navigation Jump to search
imported>Sandgem Addict
(Smith now Australian Captain in all 3 formats)
Line 15: Line 15:
 
   | group1 = [[Australia national cricket team|Australia]]
 
   | group1 = [[Australia national cricket team|Australia]]
 
   | list1 = [[Steve Smith (cricketer, born 1989)|Steve Smith]]
 
   | list1 = [[Steve Smith (cricketer, born 1989)|Steve Smith]]
 +
  
 
   | group2 = [[Bangladesh national cricket team|Bangladesh]]
 
   | group2 = [[Bangladesh national cricket team|Bangladesh]]
Line 50: Line 51:
  
 
   | group5 = [[New Zealand national cricket team|New Zealand]]
 
   | group5 = [[New Zealand national cricket team|New Zealand]]
   | list5 = [[Brendon McCullum]]
+
   | list5 =
 +
  {{navbox|subgroup
 +
    |evenodd = odd
 +
    |groupstyle=font-weight:normal
 +
    | group1 = {{Cric T}}
 +
    | list1 = [[Brendon McCullum]]
 +
    | group2 = {{Cric ODI}} & [[Twenty20 International|T20I]]
 +
    | list2 = [[Kane Williamson]]
 +
  }}
  
 
   | group6 = [[Pakistan national cricket team|Pakistan]]
 
   | group6 = [[Pakistan national cricket team|Pakistan]]

Revision as of 03:19, 9 February 2016

Initial visibility: currently defaults to autocollapse

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

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