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 state use
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.
 * (etc)
 * (etc)
 * (etc)

then

adds the statement "Alternatively, the  can be omitted" to the  message.