Difference between revisions of "Template:Frankenstein"
Jump to navigation
Jump to search
Template documentation
imported>TheMovieBuff (no red) |
imported>Randy Kryn (add to 'Films' title '(expand on the right)' for people who don't realize that the template section opens, a semi-unusual coding for a template) |
||
| Line 18: | Line 18: | ||
}} | }} | ||
| − | |group2 = Films | + | |group2 = Films (expand on the right) |
|state2 = {{#if:{{{showfilms|<noinclude>expanded</noinclude>}}} |expanded |collapsed}} | |state2 = {{#if:{{{showfilms|<noinclude>expanded</noinclude>}}} |expanded |collapsed}} | ||
|list2 = | |list2 = | ||
Revision as of 01:00, 17 February 2015
Initial visibility: currently defaults to collapsed
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Frankenstein|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Frankenstein|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Frankenstein|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 collapsed.
- To show the "Films" section as expanded by default, set
|showfilms=on, i.e.
{{Frankenstein |showfilms=on}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |