Difference between revisions of "Template:Chopin rondos"

From blackwiki
Jump to navigation Jump to search
(upgrade to WP:HLIST)
imported>Andy M. Wang
(sort)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Chopin rondos
 
| name      = Chopin rondos
| state      = {{{state|}}}
+
| title    = {{#if:{{{list only|}}}||[[Rondo]]s by [[Frédéric Chopin]]}}
| title      = [[Rondo]]s by [[Frédéric Chopin]]
+
| border    = {{#if:{{{list only|}}}|child}}
 +
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| listclass  = hlist
 
| listclass  = hlist
 
| titlestyle = background:tan;
 
| titlestyle = background:tan;
Line 13: Line 14:
 
* [[Rondo à la Krakowiak (Chopin)|Rondo à la Krakowiak, Op. 14]]
 
* [[Rondo à la Krakowiak (Chopin)|Rondo à la Krakowiak, Op. 14]]
  
* {{small|[[List of compositions by Frédéric Chopin by opus number]]}}
+
|belowstyle = background:tan;
* {{small|[[List of compositions by Frédéric Chopin by genre]]}}
+
|belowclass = hlist
 +
| below = {{#if:{{{list only|}}}||{{Chopin footer}}}}
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Solo piano works by composer templates]]
 
[[Category:Solo piano works by composer templates]]
[[Category:Chopin templates]]
+
[[Category:Chopin templates|Rondos]]
  
[[ja:Template:ショパンのロンド]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 23:04, 22 April 2016

Initial visibility: currently defaults to autocollapse

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

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