Template:Forum Song Contest: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|state = {{{state<includeonly>|expanded</includeonly>}}} | |state = {{{state<includeonly>|expanded</includeonly>}}} | ||
|bodyclass = hlist | |bodyclass = hlist | ||
|titlestyle = background:#50B100; | |||
|groupstyle = background:#9FC000;color:#00008B; | |||
|title = [[Forum Song Contest]] | |title = [[Forum Song Contest]] | ||
Revision as of 19:53, 20 May 2016
Initial visibility
To set the template's initial visibility, the |state= parameter may be used:
|state=collapsed: {{Forum Song Contest|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar|state=expanded: {{Forum Song Contest|state=expanded}} to show the template expanded, i.e., fully visible|state=autocollapse: {{Forum Song Contest|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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.