Difference between revisions of "Template:LHL"

From blackwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
|name = LHL
 
|name = LHL
|title = [[Image:Flag of Latvia.svg|25px]] [[Latvian Hockey League]]
+
|title = [[Image:Flag of Latvia.svg|25px]] [[Latvian Hockey Higher League]]
 
|bodyclass = hlist
 
|bodyclass = hlist
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
Line 7: Line 7:
 
|group1 = Current teams
 
|group1 = Current teams
 
|list1 =
 
|list1 =
* [[SMScredit.lv]]
+
* [[HK Kurbads|Kurbads Riga]]
* [[HK Ozolnieki/MONARCH]]
+
* [[HK Liepāja]]
* [[HK Liepājas Metalurgs|Liepājas Metalurgs II]]
+
* [[HK Mogo]]
* [[HK Prizma Riga|HS Rīga/Prizma]]
+
* [[HK Prizma Riga]]
* [[HK Prizma Riga|HS Rīga/Prizma II]]
+
* [[HS Rīga]]
 
* [[HK Zemgale|HK Zemgale/JLSS]]
 
* [[HK Zemgale|HK Zemgale/JLSS]]
* [[SK Rīga 96]]
 
* [[HK Juniors]]
 
  
 
|group2 = Defunct teams
 
|group2 = Defunct teams
Line 29: Line 27:
 
* [[SC Energija]]
 
* [[SC Energija]]
 
* [[Tartu Big Diamonds]]
 
* [[Tartu Big Diamonds]]
 +
* [[SMScredit.lv]]
 +
* [[HK Ozolnieki/MONARCH]]
 +
* [[HK Liepājas Metalurgs]]
 +
* [[HK Liepājas Metalurgs|Liepājas Metalurgs II]]
 +
* [[HK Prizma Riga|HS Rīga/Prizma II]]
 +
* [[SK Rīga 96]]
 +
* [[HK Juniors]]
  
 
|below =  
 
|below =  

Revision as of 21:53, 30 September 2017

Initial visibility: currently defaults to autocollapse

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

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