Difference between revisions of "Template:Ireland cricket team"

From blackwiki
Jump to navigation Jump to search
imported>DannyS712
m (→‎top: Correct name parameter)
imported>Fma12
(colors)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name=Ireland cricket team
+
| titlestyle = background:#2E7429;color:#ffffff
| title      = [[File:Cricket Ireland flag.svg|border|23x15px]] [[Ireland cricket team]]
+
| abovestyle = background:#06215B;color:#ffffff
 +
| groupstyle = background:#2E7429;color:#ffffff
 +
| name=Ireland cricket team
 +
| title      = [[File:Cricket Ireland flag.svg|border|23x15px]] [[Ireland cricket team|{{color|white|Ireland cricket team}}]]
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle =
 
 
| basestyle  =  
 
| basestyle  =  
  
 
| above =
 
| above =
* Test Status since 2017
+
* Test Status since 2017
* Based in [[Ireland]]
+
* Based in [[Ireland|{{color|white|Ireland}}]]
  
 
| group2 = Team
 
| group2 = Team
Line 25: Line 27:
 
| group5 = Current Rankings
 
| group5 = Current Rankings
 
| list5  = {{Navbox|child
 
| list5  = {{Navbox|child
   | group1 = [[ICC Test Championship|Test]]
+
   | group1 = [[ICC Test Championship|{{color|#2E7429|Test}}]]
 
   | list1 = n/a
 
   | list1 = n/a
   | group2 = [[ICC ODI Championship|ODIs]]
+
   | group2 = [[ICC ODI Championship|{{color|#2E7429|ODIs}}]]
 
   | list2 = 12th
 
   | list2 = 12th
   | group3 = [[ICC T20I Championship|T20Is]]
+
   | group3 = [[ICC T20I Championship|{{color|#2E7429|T20Is}}]]
 
   | list3 = 17th
 
   | list3 = 17th
 
}}
 
}}
Line 35: Line 37:
 
| group6 = Key personnel
 
| group6 = Key personnel
 
| list6  = {{Navbox|child
 
| list6  = {{Navbox|child
   | group1 = Governing Body
+
   | group1 = {{color|#2E7429|Governing Body}}
 
   | list1 = [[Cricket Ireland]]
 
   | list1 = [[Cricket Ireland]]
   | group2 = Coach
+
   | group2 = {{color|#2E7429|Coach}}
 
   | list2 = {{flagicon|RSA}} [[Graham Ford]]
 
   | list2 = {{flagicon|RSA}} [[Graham Ford]]
   | group3 = Captains
+
   | group3 = {{color|#2E7429|Captains}}
 
   | list3 = {{Navbox|child
 
   | list3 = {{Navbox|child
     | group1 = Test & ODI
+
     | group1 = {{color|#2E7429|Test & ODI}}
 
     | list1 = [[William Porterfield]]
 
     | list1 = [[William Porterfield]]
     | group2 = T20I
+
     | group2 = {{color|#2E7429|T20I}}
 
     | list2 = [[Gary Wilson (cricketer)|Gary Wilson]]
 
     | list2 = [[Gary Wilson (cricketer)|Gary Wilson]]
 
}}
 
}}

Revision as of 15:02, 23 June 2019

Initial visibility: currently defaults to autocollapse

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

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