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.
Collapsible tables can be sortable, too, by also including the sortable class (see § Sortable tables). By default, a collapsible table begins expanded. To change this, add the additional class mw-collapsed. Alternatively, you can add autocollapse, instead of mw-collapsed, which will automatically collapse the table if two or more collapsible ...
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 ...
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 ...
You can add a table using HTML rather than wiki markup, as described at HTML element#Tables. However, HTML tables are discouraged because wikitables are easier to customize and maintain, as described at manual of style on tables. Also, note that the <thead>, <tbody>, <tfoot>, <colgroup>, and <col> elements are not supported in wikitext.
Besides changes to MediaWiki:Common.js, to implement collapsible tables in your own wiki the same way they are in Wikipedia requires changes to MediaWiki:Common.css as well. It would be nice to have a document of all the changes necessary to implement collapsible tables. --Lance E Sloan 20:37, 2 March 2009 (UTC)
Currently, there does not seem to be a way to copy those tables to a wiki and keep styling such as colors (background or text color). It is possible to convert PDF tables to Excel and keep the colors. Or to HTML tables and keep the colors. But there does not seem to be a way to copy any of those colored tables (PDF, Excel, HTML, etc.) to a wiki.
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]