Difference between revisions of "Template:AVC Cup"

From blackwiki
Jump to navigation Jump to search
blackwiki>Wikid77
(fix navbox for 2nd "basestyle=" by omit 1st)
blackwiki>Frietjes
(navbox subgroup syntax update)
Line 3: Line 3:
 
| title  = Asian Volleyball Cup
 
| title  = Asian Volleyball Cup
 
| listclass = hlist
 
| listclass = hlist
| titlestyle = background: #BFD7FF
 
| liststyle = text-align: left;
 
 
| basestyle = background: #BFD7FF
 
| basestyle = background: #BFD7FF
  
 
| group1= [[AVC Cup for Men|Men]]
 
| group1= [[AVC Cup for Men|Men]]
| list1  = {{Navbox subgroup
+
| list1  = {{Navbox|subgroup
 
| basestyle = background: #DDEBFF
 
| basestyle = background: #DDEBFF
 
| group1 = Tournaments
 
| group1 = Tournaments
Line 28: Line 26:
  
 
| group2= [[AVC Cup for Women|Women]]
 
| group2= [[AVC Cup for Women|Women]]
| list2  ={{Navbox subgroup
+
| list2  ={{Navbox|subgroup
 
| basestyle = background: #DDEBFF
 
| basestyle = background: #DDEBFF
 
| group1 = Tournaments
 
| group1 = Tournaments

Revision as of 15:42, 5 September 2017

Initial visibility: currently defaults to autocollapse

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

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