Difference between revisions of "Template:Book structure"
Jump to navigation
Jump to search
imported>Koumz (dab) |
imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}}) |
||
| Line 2: | Line 2: | ||
|name = Book structure | |name = Book structure | ||
|title='''[[Book design]]''' | |title='''[[Book design]]''' | ||
| + | |state = {{{state|autocollapse}}} | ||
| bodyclass = hlist | | bodyclass = hlist | ||
| Line 56: | Line 57: | ||
}}<noinclude> | }}<noinclude> | ||
| + | {{collapsible option}} | ||
[[Category:Book templates|{{PAGENAME}}]] | [[Category:Book templates|{{PAGENAME}}]] | ||
[[Category:Arts and culture templates]] | [[Category:Arts and culture templates]] | ||
</noinclude> | </noinclude> | ||
<noinclude> | <noinclude> | ||
Revision as of 02:07, 6 December 2012
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Book structure|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Book structure|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Book structure|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.