Difference between revisions of "Template:Ice hockey in Ukraine"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(navbox subgroup syntax update)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name  = Ice hockey in Ukraine
 
| name  = Ice hockey in Ukraine
| title = [[Image:Flag of Ukraine.svg|20px]] Ice hockey in Ukraine
+
| title = {{flagicon|Ukraine}} Ice hockey in Ukraine
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
Line 10: Line 10:
  
 
| group1 = National teams
 
| group1 = National teams
| list1 = {{Navbox subgroup
+
| list1 = {{Navbox|subgroup
   |groupstyle = width:6em;
+
   |groupwidth = 6em
 
   |group1 = Men
 
   |group1 = Men
 
   |list1  =
 
   |list1  =
Line 22: Line 22:
 
}}
 
}}
 
| group2 = [[Ukrainian ice hockey league system|League system]]
 
| group2 = [[Ukrainian ice hockey league system|League system]]
| list2 = {{Navbox subgroup
+
| list2 = {{Navbox|subgroup
   |groupstyle = width:6em;
+
   |groupwidth = 6em
 
   |group1 = Men
 
   |group1 = Men
 
   |list1  =
 
   |list1  =
Line 45: Line 45:
 
}}
 
}}
 
| group3 = Domestic cups
 
| group3 = Domestic cups
| list3 = {{Navbox subgroup
+
| list3 = {{Navbox|subgroup
   |groupstyle = width:6em;
+
   |groupwidth = 6em
 
   |group1 = Men
 
   |group1 = Men
 
   |list1  =
 
   |list1  =

Revision as of 16:03, 17 September 2017

Initial visibility: currently defaults to autocollapse

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

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