Difference between revisions of "Template:2008 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 = 2008 in PDC darts
 
|name = 2008 in PDC darts
|title=2008 in PDC darts
+
|title = 2008 in PDC darts
|state= {{{state|autocollapse}}}
+
|state = {{{state|autocollapse}}}
|listclass = hlist
+
|bodyclass = hlist
  
|list1=
+
| above = {{align|left| « {{smaller|[[Template:2007 in PDC darts|2007]]}} }} {{align|right|{{smaller|[[Template:2009 in PDC darts|2009]]}} » }}
 +
 
 +
|list1 =
 
* [[2008 PDC World Darts Championship|PDC World Darts Championship]]
 
* [[2008 PDC World Darts Championship|PDC World Darts Championship]]
 
* [[2008 Premier League Darts|Premier League Darts]]
 
* [[2008 Premier League Darts|Premier League Darts]]
Line 15: Line 17:
 
* [[2008 Championship League Darts|Championship League Darts]]
 
* [[2008 Championship League Darts|Championship League Darts]]
 
* [[2008 European Championship (darts)|European Championship]]
 
* [[2008 European Championship (darts)|European Championship]]
* [[2008 Grand Slam of Darts|Grand Slam of Darts]]<br />
+
* [[2008 Grand Slam of Darts|Grand Slam of Darts]]
[[2008 PDC Pro Tour|PDC Pro Tour]]
+
 
 +
|below =
 +
* [[2008 PDC Pro Tour|PDC Pro Tour]]
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 22:24, 13 May 2018

Initial visibility: currently defaults to autocollapse

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

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