Difference between revisions of "Template:Chopin études"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>TonyTheTiger
(reformat for master)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Chopin études
 
|name  = Chopin études
|state = {{{state|}}}
 
|title = [[Études (Chopin)|Étude]]s by <span class="vcard"><span class="fn">[[Frédéric Chopin]]</span></span>
 
 
|listclass = hlist
 
|listclass = hlist
 +
| title    = {{#if:{{{list only|}}}||[[Études (Chopin)|Étude]]s by <span class="vcard"><span class="fn">[[Frédéric Chopin]]</span></span>}}
 +
| border    = {{#if:{{{list only|}}}|child}}
 +
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|titlestyle = background:tan;
 
|titlestyle = background:tan;
 
|groupstyle = background:tan; vertical-align:middle; text-align:center
 
|groupstyle = background:tan; vertical-align:middle; text-align:center
Line 44: Line 45:
 
|belowstyle = background:tan;
 
|belowstyle = background:tan;
 
|belowclass = hlist
 
|belowclass = hlist
|below =  
+
| below = {{#if:{{{list only|}}}||{{Chopin footer}}}}
* [[Études (Chopin)|Chopin Études]]
 
* <small>[[List of compositions by Frédéric Chopin by genre]]</small>
 
* <small>[[List of compositions by Frédéric Chopin by opus number]]</small>
 
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 00:01, 3 February 2014

Initial visibility: currently defaults to autocollapse

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

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

Template documentation[view] [edit] [history] [purge]

Usage

Initial visibility: currently defaults to autocollapse

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

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

Microformat

Template:UF-hcard-person

See also

ja:Template:ChopinÉtudes ko:틀:쇼팽의 연습곡 pt:Predefinição:Estudos de Chopin