Search results
Results from the WOW.Com Content Network
The template is compatible with collapsible tables, and cells using colspan or rowspan, in which case place the colspan/rowspan attribute between ! and {{diagonal split header 2 ...}}. It is not compatible with sortable tables, as the sort arrows are not drawn, but this problem can be resolved by using a second header row.
The |state= parameter used to manage collapsible templates need not always be named explicitly, i.e. {{Template name|state}} can be the same as {{Template name|state=state}}, if the template is coded that way. To indicate this in the {{Collapsible option}} message, add the parameter |statename=optional. This modifies the message so that it ...
A collapsible element contains a toggle a reader can use to show or hide the element's content. Elements are made collapsible by adding the mw-collapsible class, or alternatively by using the {} template, or its variants {{Collapse top}} and {{Collapse bottom}}.
•To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use: {{BASEPAGENAME |expanded=listname}} or, if enabled, {{BASEPAGENAME |listname}}
This is the template test cases page for the sandbox of Template:Collapsible list Purge this page to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki ; see the HTML comment " NewPP limit report " in the rendered page.
This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible. To change this template's initial visibility, the |state= parameter may be used:
list is a list of the section/group/etc names (the section[N]name / group[N]name / abbr[N] parameters) given in the template's code; default indicates which, if any, is to be shown expanded by default. If the template has only one collapsible group/section, {{Collapsible section option |name}}
A collapsible element contains a toggle a reader can use to show or hide the element's content. Elements are made collapsible by adding the mw-collapsible class, or alternatively by using the {{}} template, or its variants {{Collapse top}} and {{Collapse bottom}}.