Difference between revisions of "Template:Curling World Cup"

From blackwiki
Jump to navigation Jump to search
imported>UmpireRay
m (Style.)
 
Line 5: Line 5:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
 +
 
|above = [[World Curling Federation|{{colour|#FFFFFF|World Curling Federation}}]]
 
|above = [[World Curling Federation|{{colour|#FFFFFF|World Curling Federation}}]]
 
|abovestyle = background:#56058c;; color:#FFFFFF;  
 
|abovestyle = background:#56058c;; color:#FFFFFF;  
 +
 
|list1 =  
 
|list1 =  
* [[2018–19 Curling World Cup|2018–19]] ([[2018–19 Curling World Cup – First Leg|First Leg]], [[2018–19 Curling World Cup – Second Leg|Second Leg]], [[2018–19 Curling World Cup – Third Leg|Third Leg]], [[2018–19 Curling World Cup – Grand Final|Grand Final]])
+
* [[2018–19 Curling World Cup|2018–19]]
 +
** [[2018–19 Curling World Cup – First Leg|First Leg]]
 +
** [[2018–19 Curling World Cup – Second Leg|Second Leg]]
 +
** [[2018–19 Curling World Cup – Third Leg|Third Leg]]
 +
** [[2018–19 Curling World Cup – Grand Final|Grand Final]]
 +
 
 
|belowstyle = background:#56058c;; color:#FFFFFF; {{box-shadow border|a|#01d773|2px}}
 
|belowstyle = background:#56058c;; color:#FFFFFF; {{box-shadow border|a|#01d773|2px}}
 
|below =  
 
|below =  
 
* {{icon|category}} '''[[:Category: Curling World Cup|{{white|Category}}]]'''
 
* {{icon|category}} '''[[:Category: Curling World Cup|{{white|Category}}]]'''
 +
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Curling templates]]
 
[[Category:Curling templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:50, 16 November 2018

Initial visibility: currently defaults to autocollapse

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

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