Difference between revisions of "Template:Chopin nocturnes"

From blackwiki
Jump to navigation Jump to search
imported>Aza24
(update link to match other chopin templates)
 
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Chopin nocturnes
+
| name = Chopin nocturnes
|state = {{{state|}}}
+
| title    = {{#if:{{{list only|}}}||[[Nocturnes (Chopin)|Nocturnes]] by [[Frédéric Chopin]]}}
|title = [[Nocturne]]s by [[Frédéric Chopin]]
+
| border    = {{#if:{{{list only|}}}|child}}
|titlestyle = background:tan;
+
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
|list1 = <div>
+
| listclass  = hlist
{{nowrap begin}}
+
| titlestyle = background:tan;
[[Nocturnes, Op. 9 (Chopin)|3 Nocturnes, Op. 9]]{{·w}}
+
| list1 =  
[[Nocturnes, Op. 15 (Chopin)|3 Nocturnes, Op. 15]]{{·w}}
+
* [[Nocturnes, Op. 9 (Chopin)|3 Nocturnes, Op. 9]]
[[Nocturnes, Op. 27 (Chopin)|2 Nocturnes, Op. 27]]{{·w}}
+
* [[Nocturnes, Op. 15 (Chopin)|3 Nocturnes, Op. 15]]
[[Nocturnes, Op. 32 (Chopin)|2 Nocturnes, Op. 32]]{{·w}}
+
* [[Nocturnes, Op. 27 (Chopin)|2 Nocturnes, Op. 27]]
[[Nocturnes, Op. 37 (Chopin)|2 Nocturnes, Op. 37]]{{·w}}
+
* [[Nocturnes, Op. 32 (Chopin)|2 Nocturnes, Op. 32]]
[[Nocturnes, Op. 48 (Chopin)|2 Nocturnes, Op. 48]]{{·w}}
+
* [[Nocturnes, Op. 37 (Chopin)|2 Nocturnes, Op. 37]]
[[Nocturnes, Op. 55 (Chopin)|2 Nocturnes, Op. 55]]{{·w}}
+
* [[Nocturnes, Op. 48 (Chopin)|2 Nocturnes, Op. 48]]
[[Nocturnes, Op. 62 (Chopin)|2 Nocturnes, Op. 62]]{{·w}}
+
* [[Nocturnes, Op. 55 (Chopin)|2 Nocturnes, Op. 55]]
[[Nocturne in E minor, Op. posth. 72 (Chopin)|Nocturne in E minor, Op. posth. 72]]{{·w}}
+
* [[Nocturnes, Op. 62 (Chopin)|2 Nocturnes, Op. 62]]
[[Nocturne in C-sharp minor, Op. posth. (Chopin)|Nocturne Op. posth. in C-sharp minor]]{{·w}}
+
* [[Nocturne in E minor, Op. posth. 72 (Chopin)|Nocturne in E minor, Op. posth. 72]]
[[Nocturne in C minor, Op. posth. (Chopin)|Nocturne Op. posth. in C minor]]
+
* [[Nocturne in C-sharp minor, Op. posth. (Chopin)|Nocturne in C-sharp minor, Op. posth.]]
{{nowrap end}}
+
* [[Nocturne in C minor, Op. posth. (Chopin)|Nocturne in C minor, Op. posth.]]<noinclude>
 +
* [[Nocturne in C-sharp minor (attributed to Chopin)|Nocturne oubliée]]</noinclude>
  
<small>[[Nocturnes (Chopin)|Chopin nocturnes]] - [[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|{{PAGENAME}}]]
+
[[Category:Solo piano works by composer templates]]
[[Category:Classical composer templates|{{PAGENAME}}]]
+
[[Category:Chopin templates|Nocturnes]]
[[ja:Template:ショパンの夜想曲]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 08:02, 28 October 2020

Initial visibility: currently defaults to autocollapse

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

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