Search results
Results from the WOW.Com Content Network
Just using the mw-collapsible class leaves the element expanded by default, but it can be collapsed by the reader. It is also possible to make the element collapsed by default, and optionally expanded by adding other classes along with mw-collapsible. There are several methods for doing this, depending on the situations in which you want the ...
Note: Previous versions of this article recommended the collapsible class, but mw-collapsible is now preferred. It is a feature of the MediaWiki software, not a local customization, and can be used to make any element collapsible, not just tables. mw-collapsible also does not require a header row in the table, as collapsible did.
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.
Instead of trying to make a super-cell that spans rows/columns, split it into smaller cells while leaving some cells intentionally empty. Use a non-breaking space with or {} in empty cells to maintain the table structure. Custom CSS styling: Override the wikitable class defaults by explicitly specifying: border-collapse: collapse;
hide, collapse, collapsed, or mw-collapsed: Uses the mw-collapsible collapsed classes to make the table collapsed with a [show] link to reveal the table. auto or autocollapse: Uses the mw-collapsible autocollapse classes to make the table collapsible, but only collapse it if there are three or more collapsible tables on the 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 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 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: