Difference between revisions of "Template:Elgar symphonies"

From blackwiki
Jump to navigation Jump to search
imported>JackofOz
imported>Michael Bednarek
(allow control of "state" & default to autocollapse; WP:HLIST)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Elgar symphonies
 
|name  = Elgar symphonies
|state = uncollapsed
+
|state = {{{state|autocollapse}}}
 
|titlestyle = background:tan;
 
|titlestyle = background:tan;
 
|title = [[Symphony|Symphonies]] and other orchestral works by [[Edward Elgar]]
 
|title = [[Symphony|Symphonies]] and other orchestral works by [[Edward Elgar]]
|list1 = <div>
+
|bodyclass = hlist
{{nowrap begin}}
+
|list1 =
[[Symphony No. 1 (Elgar)|Symphony No. 1 in A flat major, Op. 55]]{{·w}}
+
*[[Symphony No. 1 (Elgar)|Symphony No. 1 in A flat major, Op. 55]]
[[Symphony No. 2 (Elgar)|Symphony No. 2 in E flat major, Op. 63]]{{·w}}
+
*[[Symphony No. 2 (Elgar)|Symphony No. 2 in E flat major, Op. 63]]
[[Enigma Variations|Enigma Variations, Op. 36]]{{·w}}
+
*[[Enigma Variations|Enigma Variations, Op. 36]]
[[Pomp and Circumstance Marches|Pomp and Circumstance Marches, Op. 39]]{{·w}}
+
*[[Pomp and Circumstance Marches|Pomp and Circumstance Marches, Op. 39]]
[[Falstaff (Elgar)|Falstaff – Symphonic Study, Op. 68]]
+
*[[Falstaff (Elgar)|Falstaff – Symphonic Study, Op. 68]]
{{nowrap end}}
+
*<small>Fragmentary: [[Symphony No. 3 (Elgar/Payne)|Symphony No. 3 (Elgar/Payne), Op. 88]]</small>
<small>Fragmentary: [[Symphony No. 3 (Elgar/Payne)|Symphony No. 3 (Elgar/Payne), Op. 88]]</small>
 
</div>
 
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Collapsible option}}
 
[[Category:Symphonies by composer templates|{{PAGENAME}}]]
 
[[Category:Symphonies by composer templates|{{PAGENAME}}]]
 
[[Category:Classical composer templates|{{PAGENAME}}]]
 
[[Category:Classical composer templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 07:54, 22 July 2012

Initial visibility: currently defaults to autocollapse

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

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