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.
In the table section click "edit source" (wikitext editing). Click on "Advanced" in the editing toolbar. Then click on the "search and replace" icon on the right. In the popup form check the box for "Treat search string as a regular expression". Fill in the "Search for" box with (\|-\n\|) Fill in the "replace with" box with $1style=text-align:left|
For example, nested tables (tables inside tables) should be separated into distinct tables when possible. Here is a more advanced example, showing some more options available for making up tables. Users can play with these settings in their own table to see what effect they have.
expand: Any text in this parameter (including "no") sets the list's default state to expanded rather than collapsed. Omit the parameter or leave it blank to set the default state to collapsed. framestyle: Custom CSS styling applied the template overall (title and list). titlestyle: Custom CSS styling applied to the title. title
The content in question is currently in a table so it seems logical to use collapsible tables but in the Help for Collapse (top and bottom) it mentions it can also be used to collapse complex content that includes tables. Doesn't seem to be any clear indication which is recommended.
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; inner or ...
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.
A table can be useful even if none of the cells have content. For example, the background colors of cells can be changed with cell parameters, making the table into a diagram, like meta:Template talk:Square 8x8 pentomino example. An "image" in the form of a table is much more convenient to edit than an uploaded image.