Difference between revisions of "Template:Cork GAA clubs competitions"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
(copyedit)
Line 1: Line 1:
 
{{Navbox  
 
{{Navbox  
|name      = Cork clubs competitions
+
| name      = Cork clubs competitions
|title      = [[Cork GAA|Cork GAA club competitions]]
+
| title      = [[Cork GAA|{{color|white|Cork GAA club competitions}}]]
|state = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
|listclass  = hlist
+
| listclass  = hlist
|titlestyle = background:#BFD7FF;
+
| basestyle  = background:red; color:white; border:1px solid red
|groupstyle = background:#BFD7FF;
 
  
|group1 = [[Gaelic football]]
+
|group1 = [[Gaelic football|{{color|white|Gaelic football}}]]
 
|list1  =
 
|list1  =
 
* [[Cork Senior Football Championship|Senior Football Championship]]
 
* [[Cork Senior Football Championship|Senior Football Championship]]
Line 15: Line 14:
 
* [[Cork Under-21 Football Championship|Under-21 Football Championship]]
 
* [[Cork Under-21 Football Championship|Under-21 Football Championship]]
  
|group2 = [[Hurling]]  
+
|group2 = [[Hurling|{{color|white|Hurling}}]]  
 
|list2  =
 
|list2  =
 
* [[Cork Senior Hurling Championship|Senior Hurling Championship]]
 
* [[Cork Senior Hurling Championship|Senior Hurling Championship]]
Line 23: Line 22:
 
* [[Cork Junior B Hurling Championship|Junior B Hurling Championship]]
 
* [[Cork Junior B Hurling Championship|Junior B Hurling Championship]]
 
* [[Cork Under-21 Hurling Championship|Under-21 Hurling Championship]]
 
* [[Cork Under-21 Hurling Championship|Under-21 Hurling Championship]]
 
  
 
}}{{#if:{{{1|}}}|{{{{{1}}}}}}}
 
}}{{#if:{{{1|}}}|{{{{{1}}}}}}}

Revision as of 02:58, 4 February 2013

Initial visibility: currently defaults to autocollapse

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

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