Collapsible Table Experiment
From Bogleheads
The crux of the problem for navigation boxes. If class="wikitable collapsible" can work, we can build a collapsible NavBox.
NavBoxes are nested tables within a border frame and are intended to help with wiki page navigation (the original problem).
Working examples:
Collapsible tables
Help for Collapsible tables
The simplest example possible. There should be a "show/hide" selection on the right side of the table. Not working, needs the common.js code.
| Simple collapsible table |
|---|
| Lorem ipsum dolor sit amet |
The collapsible table code from the Bogleheads' [[MediaWiki:Common.js]] is blank. The code can be found here: MediaWiki:Common.js on MediaWiki
Use code starting with /** Collapsible tables ******
If this can work, then maybe we can do something similar to the main page portal box templates. It's possible we won't need the extension for parser functions (?).
I think the code eventually ends up in wikibits.js?
How to Cite
You can link to this page from the Bogleheads Forum by copying and pasting the following text into your forum posting:
Please see [url=http://www.bogleheads.org/wiki/Collapsible_Table_Experiment]Collapsible Table Experiment[/url] on the [url=http://www.bogleheads.org/wiki/Main_Page]Bogleheads Wiki[/url].
| Notice something that needs correcting? Notify a wiki editor or become a wiki editor and fix it yourself! |
|---|

