Difference between revisions of "Template:Hampshire CCC"

From blackwiki
Jump to navigation Jump to search
imported>Ansh666
(no need for those)
imported>AssociateAffiliate
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|titlestyle = background:navy;color:gold;
+
|titlestyle = background:#000F89;color:gold;
|abovestyle = background:navy;color:#000080
+
|abovestyle = background:#000F89;color:gold
|groupstyle = background:navy;color:gold;
+
|groupstyle = background:#000F89;color:gold;
 
|title = [[Hampshire County Cricket Club|<span style="color: gold">Hampshire County Cricket Club</span>]]
 
|title = [[Hampshire County Cricket Club|<span style="color: gold">Hampshire County Cricket Club</span>]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
Line 21: Line 21:
 
|list2 =  
 
|list2 =  
 
{{Navbox|child
 
{{Navbox|child
|groupstyle = background:navy; color:gold;
+
|groupstyle = background:#000F89; color:gold;
 
|group1 = Current grounds
 
|group1 = Current grounds
 
|list1  =
 
|list1  =
 
* [[Rose Bowl (cricket ground)|Rose Bowl, Southampton]]
 
* [[Rose Bowl (cricket ground)|Rose Bowl, Southampton]]
 +
* [[Newclose County Cricket Ground|Newclose County Cricket Ground, Newport]]
 
|group2 = Previous grounds
 
|group2 = Previous grounds
 
|list2 =
 
|list2 =

Latest revision as of 09:43, 28 May 2019


Initial visibility: currently defaults to autocollapse

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

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