Difference between revisions of "Template:2011 in PDC darts"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = 2011 in PDC darts
 
|name = 2011 in PDC darts
|title=2011 in PDC darts
+
|title = 2011 in PDC darts
|state= {{{state|autocollapse}}}
+
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
|group1= '''Major tournaments'''
+
| above = {{align|left| « {{smaller|[[Template:2010 in PDC darts|2010]]}} }} {{align|right|{{smaller|[[Template:2012 in PDC darts|2012]]}} » }}
|list1=
+
 
 +
|group1 = Major tournaments
 +
|list1 =
 
* [[2011 PDC World Darts Championship|PDC World Darts Championship]]
 
* [[2011 PDC World Darts Championship|PDC World Darts Championship]]
 
* [[2011 Players Championship Finals (1)|Players Championship Finals (1)]]
 
* [[2011 Players Championship Finals (1)|Players Championship Finals (1)]]
Line 19: Line 21:
 
* [[2011 Players Championship Finals (2)|Players Championship Finals (2)]]
 
* [[2011 Players Championship Finals (2)|Players Championship Finals (2)]]
  
|group2=[[2011 PDC Pro Tour|PDC Pro Tour]]'''
+
|group2 = [[2011 PDC Pro Tour|PDC Pro Tour]]
| list2 =  
+
|list2 =  
 
* [[2011 UK Open Qualifier 1|UK Open Qualifier 1]]
 
* [[2011 UK Open Qualifier 1|UK Open Qualifier 1]]
 
* [[2011 UK Open Qualifier 2|2]]
 
* [[2011 UK Open Qualifier 2|2]]

Revision as of 22:21, 13 May 2018

Initial visibility: currently defaults to autocollapse

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

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