Difference between revisions of "Template:Chopin scherzos"
imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}}) |
imported>TonyTheTiger (prepare for master template) |
||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
| name = Chopin scherzos | | name = Chopin scherzos | ||
| − | | | + | | title = {{#if:{{{list only|}}}||[[Scherzo]]s by <span class="vcard"><span class="fn">[[Frédéric Chopin]]</span></span>}} |
| − | | | + | | border = {{#if:{{{list only|}}}|child}} |
| + | | state = {{{state<includeonly>|autocollapse</includeonly>}}} | ||
| listclass = hlist | | listclass = hlist | ||
| titlestyle = background:tan; | | titlestyle = background:tan; | ||
| Line 12: | Line 13: | ||
* [[Scherzo No. 4 (Chopin)|No. 4 in E major, Op. 54]] | * [[Scherzo No. 4 (Chopin)|No. 4 in E major, Op. 54]] | ||
| − | + | |belowstyle = background:tan; | |
| − | + | |belowclass = hlist | |
| − | + | | below = {{#if:{{{list only|}}}||{{Chopin footer}}}} | |
}}<noinclude> | }}<noinclude> | ||
{{collapsible option}} | {{collapsible option}} | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 00:10, 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 scherzos|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Chopin scherzos|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Chopin scherzos|state=autocollapse}}
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.
Usage
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Chopin scherzos|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Chopin scherzos|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Chopin scherzos|state=autocollapse}}
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.
Microformats
See also
| The above documentation is transcluded from Template:Chopin scherzos/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |