Difference between revisions of "Template:Chopin piano sonatas"

From blackwiki
Jump to navigation Jump to search
imported>Michael Bednarek
m (trim unnecessary repetitive "Piano Sonata")
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Chopin piano sonatas
 
| name      = Chopin piano sonatas
| state      = uncollapsed
+
| title    = {{#if:{{{list only|}}}||[[Piano sonata]]s by [[Frédéric Chopin]]}}
| title      = [[Piano sonata]]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
 
| list1      =  
 
| list1      =  
* [[Piano Sonata No. 1 (Chopin)|Piano Sonata No. 1 in C minor, Op. 4]]
+
* [[Piano Sonata No. 1 (Chopin)|No. 1 in C minor, Op. 4]]
* [[Piano Sonata No. 2 (Chopin)|Piano Sonata No. 2 in B-flat minor, Op. 35 (''Funeral March'')]]
+
* [[Piano Sonata No. 2 (Chopin)|No. 2 in B{{music|flat}} minor, Op. 35 (''Funeral March'')]]
* [[Piano Sonata No. 3 (Chopin)|Piano Sonata No. 3 in B minor, Op. 58]]
+
* [[Piano Sonata No. 3 (Chopin)|No. 3 in B minor, Op. 58]]
  
* {{small|[[List of compositions by Frédéric Chopin by genre]]}}
+
|belowstyle = background:tan;
 
+
|belowclass = hlist
* {{small|[[List of compositions by Frédéric Chopin by opus number]]}}
+
| 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:Sonatas by composer templates]]
 
[[Category:Sonatas by composer templates]]
[[Category:Chopin templates]]
+
[[Category:Chopin templates|Piano sonatas]]
  
[[it:Template:Sonate di Chopin]]
 
[[ja:Template:ショパンのピアノソナタ]]
 
[[uk:Шаблон:Сонати Шопена]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 12:17, 31 March 2018

Initial visibility: currently defaults to autocollapse

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

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