Difference between revisions of "Template:Brahms concertos"

From blackwiki
Jump to navigation Jump to search
imported>Chuckstreet
m
imported>Chuckstreet
(Changes for consistency, to same as other navboxes: Added "below" area, tan color like title, moved "list2" (one item: list of compositions, no need for "list") to "below" area, and remove "<small>" tag on that item. State should be autocollapse not uncollapsed. Formatted for editing.)
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Brahms concertos
+
|name = Brahms concertos
| state     = {{{state|uncollapsed}}}
+
|state = {{{state|autocollapse}}}
| title     = [[Concerto]]s by [[Johannes Brahms]]
+
|titlestyle = background:tan;
| listclass = hlist
+
|belowstyle = background:tan;
| titlestyle = background:tan;
+
|title = [[Concerto]]s by [[Johannes Brahms]]
| list1     =  
+
|listclass = hlist
 +
|list1 =  
 
* [[Piano Concerto No. 1 (Brahms)|Piano Concerto No. 1 in D minor]]
 
* [[Piano Concerto No. 1 (Brahms)|Piano Concerto No. 1 in D minor]]
 
* [[Piano Concerto No. 2 (Brahms)|Piano Concerto No. 2 in B♭ major]]
 
* [[Piano Concerto No. 2 (Brahms)|Piano Concerto No. 2 in B♭ major]]
 
* [[Violin Concerto (Brahms)|Violin Concerto in D major]]
 
* [[Violin Concerto (Brahms)|Violin Concerto in D major]]
 
* [[Double Concerto (Brahms)|Double Concerto for Violin and Cello in A minor]]
 
* [[Double Concerto (Brahms)|Double Concerto for Violin and Cello in A minor]]
|list2=
+
 
*<small>[[List of compositions by Johannes Brahms]]</small>
+
|belowclass = hlist
 +
|below =
 +
* [[List of compositions by Johannes Brahms]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Concertos by composer templates]]
 
[[Category:Concertos by composer templates]]
 
[[Category:Romantic composer templates]]
 
[[Category:Romantic composer templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 03:09, 31 October 2019

Initial visibility: currently defaults to autocollapse

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

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