Template:Collapsible option

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Note to editors on how to manage collapsibility:

  • Use {{Template name|state=collapsed}} to show this template in its collapsed (hidden) state.
  • Use {{Template name|state=expanded}} to show this template in its expanded (fully visible) state.
  • Use {{Template name|state=autocollapse}} 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.)
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Collapsible option/doc.

The {{collapsible option}} 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 (between <noinclude>{{doc-inline}} and {{doc-end}}</noinclude>), or on the template's documentation subpage.

See also[edit]