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 {{ Collapse }} template, or its variants {{ Collapse top }} and {{ Collapse bottom }} .
In reporting, colgroups and rowgroups can also be used for grouping of collapsible categories in the presentation of a table [5] (with or without aggregation for the groups [6]). One example of a use case may be if a table contains a lot of detailed information, but there is a want to display summarizing information of groups in the same table. [5]
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.
A second class can be added for sorting (class="wikitable sortable") or to toggle visibility (class="wikitable mw-collapsible"). See also the list of class attributes. style This is called an inline style, and can be used to add CSS styles to an element, such as color, font, size, and more. Multiple style values can be added separated by a ...
inner or innercollapse: Uses the mw-collapsible innercollapse classes to make the table collapsible, but only collapse if the table is within a larger table with the outercollapse class. outer or outercollapse: Uses the outercollapse class to collapse any smaller tables within the table it that use the innercollapse class. Can be combined with ...
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 ...
In Microsoft Word, the feature is called "collapsible outlining". Many user interfaces provide disclosure widgets for code folding in a sidebar, indicated for example by a triangle that points sideways (if collapsed) or down (if expanded), or by a [-] box for collapsible (expanded) text, and a [+] box for expandable (collapsed) text.
To nest a plain navbox (that is, a navbox that would be specified with the {} template) inside a Navbox with collapsible groups, set the list n parameter to child or subgroup. Elements of the child navbox can be specified by prepending child n _ , subgroup n _ , or just n _ to the parameter names (e.g. 1_list1 ).