Difference between revisions of "Template:KBL"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = KBL Teams
 
|name = KBL Teams
|title = [[Korean Basketball League|KBL]] [[2011–12 KBL season|2011–12]]
+
|title = [[Korean Basketball League|KBL]] · [[2011–12 KBL season|2011–12]]
 +
|listclass = hlist
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|titlestyle=background:#FFA500;
 
|titlestyle=background:#FFA500;
  
 
|list1 =  
 
|list1 =  
[[Anyang KGC]]{{,}}[[Busan KT Sonicboom]]{{,}}[[Changwon LG Sakers]]{{,}}[[Goyang Orions]]{{,}}[[Incheon ET Land Elephants]]{{,}}[[Jeonju KCC Egis]]{{,}}[[Seoul Samsung Thunders]]{{,}}[[Seoul SK Knights]]{{,}}[[Ulsan Mobis Phoebus]]{{,}}[[Wonju Dongbu Promy]]
+
[[Anyang KGC]]
 +
* [[Busan KT Sonicboom]]
 +
* [[Changwon LG Sakers]]
 +
* [[Goyang Orions]]
 +
* [[Incheon ET Land Elephants]]
 +
* [[Jeonju KCC Egis]]
 +
* [[Seoul Samsung Thunders]]
 +
* [[Seoul SK Knights]]
 +
* [[Ulsan Mobis Phoebus]]
 +
* [[Wonju Dongbu Promy]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 19:58, 13 April 2012

Initial visibility: currently defaults to autocollapse

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

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

ko:틀:KBL ja:Template:韓国バスケットボールリーグ