Difference between revisions of "Template:LHL"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>CapitalR
(use listclass = hlist in navbox as per WP:HLIST)
Line 2: Line 2:
 
|name = LHL
 
|name = LHL
 
|title = [[Image:Flag of Latvia.svg|25px]] [[Latvian Hockey League]]
 
|title = [[Image:Flag of Latvia.svg|25px]] [[Latvian Hockey League]]
 +
|bodyclass = hlist
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 +
 
|group1 = Current teams
 
|group1 = Current teams
|list1 = [[DHK Latgale|DHK Latgale-2]]{{·}} [[HK Liepājas Metalurgs|HK Liepājas Metalurgs-2]]{{·}} [[SC Energija]]{{·}} [[SK LSPA/Riga]]{{·}} [[HK Concept]]{{·}} [[HS Rīga Prizma/Hanza]]{{·}} [[HK Ozolnieki/Monarhs]]{{·}} [[SK Rīga 18]]
+
|list1 =
 +
* [[DHK Latgale|DHK Latgale-2]]
 +
* [[HK Liepājas Metalurgs|HK Liepājas Metalurgs-2]]
 +
* [[SC Energija]]
 +
* [[SK LSPA/Riga]]
 +
* [[HK Concept]]
 +
* [[HS Rīga Prizma/Hanza]]
 +
* [[HK Ozolnieki/Monarhs]]
 +
* [[SK Rīga 18]]
 +
 
 
|group2 = Defunct teams
 
|group2 = Defunct teams
|list2 = [[ASK/Ogre]]{{·}} [[HK Riga 2000|HK Rīga 2000]]{{·}} [[Lifo/Nafta]]{{·}} [[SK Ozollapas]]{{·}} [[LB/Prizma]]{{·}} [[SK Riga 18|SK Rīga 18]]{{·}} [[Stalkers/Juniors]]{{·}} [[Vilki OP/LaRocca]]{{·}} [[HK Zemgale]]
+
|list2 =
|below = '''Related articles''': [[International Ice Hockey Federation|IIHF]]{{·}} [[IIHF Continental Cup]]{{·}} [[IIHF European Champions Cup]]
+
* [[ASK/Ogre]]
 +
* [[HK Riga 2000|HK Rīga 2000]]
 +
* [[Lifo/Nafta]]
 +
* [[SK Ozollapas]]
 +
* [[LB/Prizma]]
 +
* [[SK Riga 18|SK Rīga 18]]
 +
* [[Stalkers/Juniors]]
 +
* [[Vilki OP/LaRocca]]
 +
* [[HK Zemgale]]
 +
 
 +
|below =  
 +
; Related articles:
 +
: [[International Ice Hockey Federation|IIHF]]
 +
: [[IIHF Continental Cup]]
 +
: [[IIHF European Champions Cup]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Ice hockey leagues navigational boxes|{{PAGENAME}}]]
+
[[Category:Ice hockey leagues navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 23:43, 1 August 2012

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.