Search results
Results from the WOW.Com Content Network
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}}.
If class collapsible is still in use (e.g. by Module:Navbox, and many other places) this needs to be described. The simple fact is mw-collapsible is far less feature rich and comprehensive, meaning its use is limited even if it is recommended. mw-collapsible also leads to sizeable lag on my system.
As shown in the first infobox, when using {{collapsible list}} as an infobox data item with a long label, the list name overlaps with the [show]/[hide] button. I was going to contrast that with the behavior of {{ Hidden }} , but apparently using that in the same infobox fixes the problem, so I've shown that in a separate infobox.
This example shows {}, {{Navbox with collapsible groups}} and {{Navbox with columns}} all working together. Press the edit button for the section to view the code. Note that this nesting can lead to a large increase in the template's post-expand include size
Place {{collapsed infobox section begin}} before the first line of the collapsed section (typically in the caption, for an infobox with an image), and place {{collapsed infobox section end}} after the last line of the collapsed section (typically just after the website or footnotes).
Collapsible Image Groups Style (body) parameter/s {} collapsible Left/right of body: Yes: Yes {{Navbox with collapsible groups}} collapsible Left/right of body and/or in each list: Yes: Yes {{Navbox with columns}} collapsible Left/right of columns: No: Yes
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 ...
How to manage this template's collapsible groups/sections option This template includes collapsible groups/sections. When it first appears , one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars.