Template:Collapsible option/doc

The  template gives a standardised message for transclusion on template pages whose templates include a state parameter (through which their collapsibility may be managed).

It may be used on either the template page itself (wrapped within  tags), or on the template's documentation subpage.

Indicating optional use of state name
If, in a template where has been transcluded, that template's state parameter has been enabled such that it need not be named when the template is called – i.e. the state parameter includes , e.g.
 * or
 * etc
 * etc
 * etc

then

removes the instances of "state=" from the message, i.e.
 * How to manage this template's visibility
 * Use   to show this template in its collapsed (hidden) state.
 * Use   to show this template in its expanded (fully visible) state.
 * Use   to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. (This is usually the default, i.e. doesn't usually need specifying.)