Search results
Results from the WOW.Com Content Network
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. Tables will show the "[hide]" / "[show]" controls in the first row of the table (whether or not it is a header row), unless a ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Help; Learn to edit; Community portal; Recent changes; Upload file
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 }} .
show, hidable, collapsible, or mw-collapsible: Uses the mw-collapsible class to show a [hide] link to collapse the table, but leaves the table uncollapsed by default 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.
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.
show, hidable, collapsible, or mw-collapsible: Uses the mw-collapsible class to show a [hide] link to collapse the table, but leaves the table uncollapsed by default 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.
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:
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.