Search results
Results from the WOW.Com Content Network
Adding the mw-collapsible class to a table automatically positions the toggle, and selects which parts to collapse. A common use is to make a collapsible layout table, which always displays an introduction or summary, but hides the rest of the content from immediate view.
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
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.
Produces an HTML list that can be collapsed Template parameters [Edit template data] This template prefers block formatting of parameters. Parameter Description Type Status Title title The list's title (Always in view beside the list's [show/hide] link). String suggested Horizontal list hlist Use value 'on' or 'true' to produce a horizontal rather than vertical list Suggested values on true ...
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 ...
Creates a collapsible box that allows its content to be hidden or revealed on user's command. It is used to reduce clutter. Template parameters [Edit template data] Parameter Description Type Status Contents 1 content text Contents of the box Content required Title 2 title heading header reason result Text of title bar. Defaults to "Extended contents". Default Extended content String suggested ...
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.