Difference between revisions of "Template:Chopin piano sonatas"

From blackwiki
Jump to navigation Jump to search
imported>CenturionZ 1
m (moved Template:Chopin sonatas to Template:Chopin piano sonatas: better unambiguous name)
imported>Michael Bednarek
m (trim unnecessary repetitive "Piano Sonata")
 
(14 intermediate revisions by 8 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]]}}
|titlestyle = background:tan
+
| border    = {{#if:{{{list only|}}}|child}}
|title = [[Piano sonata]]s by [[Frédéric Chopin]]
+
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
|list1 = <div>
+
| listclass  = hlist
{{nowrap begin}}
+
| titlestyle = background:tan
[[Piano Sonata No. 1 (Chopin)|Piano Sonata No. 1 in C minor, Op. 4]]{{·w}}
+
| list1      =
[[Piano Sonata No. 2 (Chopin)|Piano Sonata No. 2 in B-flat minor, Op. 35 (''Funeral March'')]]{{·w}}
+
* [[Piano Sonata No. 1 (Chopin)|No. 1 in C minor, Op. 4]]
[[Piano Sonata No. 3 (Chopin)|Piano Sonata No. 3 in B minor, Op. 58]]
+
* [[Piano Sonata No. 2 (Chopin)|No. 2 in B{{music|flat}} minor, Op. 35 (''Funeral March'')]]
{{nowrap end}}
+
* [[Piano Sonata No. 3 (Chopin)|No. 3 in B minor, Op. 58]]
  
<small>[[List of compositions by Frédéric Chopin]]</small>
+
|belowstyle = background:tan;
</div>
+
|belowclass = hlist
 +
| below = {{#if:{{{list only|}}}||{{Chopin footer}}}}
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 +
 +
[[Category:Solo piano works by composer templates]]
 +
[[Category:Sonatas by composer templates]]
 +
[[Category:Chopin templates|Piano sonatas]]
  
[[Category:Solo piano works by composer templates|{{PAGENAME}}]]
 
[[Category:Sonatas by composer templates|{{PAGENAME}}]]
 
[[Category:Classical composer templates|{{PAGENAME}}]]
 
 
</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.