Difference between revisions of "Template:CONCACAF competitions"

From blackwiki
Jump to navigation Jump to search
imported>Chanheigeorge
imported>WOSlinker
(tidy groupstyle)
Line 3: Line 3:
 
| title  = [[CONCACAF]] competitions
 
| title  = [[CONCACAF]] competitions
 
| state  = {{{state|autocollapse}}}
 
| state  = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
 
| list1  = {{Navbox|child
 
| list1  = {{Navbox|child
 
| above  = '''National team tournaments'''
 
| above  = '''National team tournaments'''
|listclass = hlist
+
| listclass = hlist
| group1 = <center>CONCACAF era</center>
+
| groupstyle = text-align:center;
 +
| group1 = CONCACAF era
 
| list1  =  
 
| list1  =  
 
{{Navbox subgroup
 
{{Navbox subgroup
| group1 = <center>Current</center>
+
| groupstyle = text-align:center;
 +
| group1 = Current
 
| list1  =
 
| list1  =
 
* [[CONCACAF Gold Cup]]
 
* [[CONCACAF Gold Cup]]
Line 30: Line 32:
 
** [[Football at the Central American Games|Central American Games]]
 
** [[Football at the Central American Games|Central American Games]]
 
* [[Copa América Centenario]]
 
* [[Copa América Centenario]]
| group2 = <center>Defunct</center>
+
| group2 = Defunct
 
| list2  =  
 
| list2  =  
 
* [[CONCACAF Championship]]
 
* [[CONCACAF Championship]]
Line 36: Line 38:
 
* [[CFU Championship]]
 
* [[CFU Championship]]
 
}}
 
}}
| group2 = <center>Pre-CONCACAF</center>
+
| group2 = Pre-CONCACAF
 
| list2  =  
 
| list2  =  
 
{{Navbox subgroup
 
{{Navbox subgroup
| group1 = <center>Defunct</center>
+
| groupstyle = text-align:center;
 +
| group1 = Defunct
 
| list1  =
 
| list1  =
 
* [[NAFC]] ([[NAFC Championship]])
 
* [[NAFC]] ([[NAFC Championship]])

Revision as of 12:43, 17 April 2015

Initial visibility: currently defaults to autocollapse

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

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