Difference between revisions of "Template:Citrus"
imported>Frietjes (Undid revision 521733696 by 31.52.219.112 (talk)) |
imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}}) |
||
| Line 2: | Line 2: | ||
| name = Citrus | | name = Citrus | ||
| title = [[Citrus]] | | title = [[Citrus]] | ||
| + | | state = {{{state|autocollapse}}} | ||
| bodyclass = hlist | | bodyclass = hlist | ||
| Line 38: | Line 39: | ||
}}<noinclude> | }}<noinclude> | ||
| + | {{collapsible option}} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 04:46, 6 December 2012
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Citrus|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Citrus|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Citrus|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
{{Citrus}}
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Citrus|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Citrus|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Citrus|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.
| The above documentation is transcluded from Template:Citrus/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. |