Difference between revisions of "Template:Cup of China Figure skating"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Sunnyou31
 
(9 intermediate revisions by 7 users not shown)
Line 3: Line 3:
 
| title    = [[Cup of China]]
 
| title    = [[Cup of China]]
 
| listclass = hlist
 
| listclass = hlist
| state    = {{{state|uncollapsed}}}
+
| state    = {{{state|autocollapse}}}
  
 
| list1 =  
 
| list1 =  
Line 16: Line 16:
 
* [[2011 Cup of China|2011]]
 
* [[2011 Cup of China|2011]]
 
* [[2012 Cup of China|2012]]
 
* [[2012 Cup of China|2012]]
 +
* [[2013 Cup of China|2013]]
 +
* [[2014 Cup of China|2014]]
 +
* [[2015 Cup of China|2015]]
 +
* [[2016 Cup of China|2016]]
 +
* [[2017 Cup of China|2017]]
 +
* [[2019 Cup of China|2019]]
 +
* [[2020 Cup of China|2020]]
 +
 +
 
}}{{main other|
 
}}{{main other|
[[Category:Cup of China by year]]
+
[[Category:Cup of China]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
Line 23: Line 32:
 
[[Category:Cup of China templates]]
 
[[Category:Cup of China templates]]
  
[[ja:Template:中国杯]]
 
[[pt:Predefinição:Copa da China]]
 
[[ru:Шаблон:Турниры Cup of China]]
 
[[tr:Şablon:Cup of China]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:58, 1 October 2020

Initial visibility: currently defaults to autocollapse

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

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