Wiki markup "Collapsible tables"

+4 votes
487 views

Wiki markup does not appear to work for  "Collapsible tables" found at

Colapsible tables

Posted in http://www.wikitree.com/wiki/Space:Sandbox

{| class="wikitable collapsible collapsed"
|-
! Header
|-
| Content which starts hidden
|-
| more hidden content
|}
in Genealogy Help by Living Lechner G2G6 Mach 6 (62.1k points)
edited by Keith Hathaway

This would require a super techy, per other comments. Thanks anyway, Mike

Other info found at:

http://en.wikipedia.org/wiki/MediaWiki:Common.js

1 Answer

+3 votes
 
Best answer
Yes, this doesn't work because we don't have that Common.js installed on WikiTree. In theory it could be installed on the server, and should work, but I can't say for sure. It would be worth looking into, though. That collapsible text would be really helpful on talk pages.
by Lianne Lavoie G2G6 Pilot (425k points)
selected by Living Lechner
It's been almost six years since this was asked. Has any new consideration been given to the collapsible or mw-collapsible table styles?

I'd also find use for the collapsible list template used on other MediaWiki sites: https://en.wikipedia.org/wiki/Template:Collapsible_list

I use source lists with subsources that make for unreadably long profiles, and I'd like to hide those subsources unless a reader takes interest in them.

Edit: Here's an example of a profile where I'd like to hide the bulleted subsources. The biography is six sentences, but the source list will end up being six pages long: https://www.wikitree.com/wiki/Hall-36310

It seems likely to me that a pure-CSS solution (not requiring JS) may be possible in modern browsers. Here's a demonstration that might be adapted to serve this purpose: http://jsfiddle.net/94ukA/4535/
Hi J. I would recommend asking a new G2G question. Commenting on my answer only gets seen by me. And while I worked for WikiTree when I posted that answer, I don't now, and so I don't really have any answers for you. But if you post a new question you'll get more feedback.
Thanks for letting me know, Lianne. I'll do as you suggest and ask a new question tomorrow.

Related questions

+12 votes
3 answers
258 views asked Jan 3, 2019 in The Tree House by Steven Harris G2G6 Pilot (572k points)
+5 votes
2 answers
196 views asked Sep 8, 2018 in WikiTree Help by Sheena Tait G2G6 Mach 8 (83.8k points)
+20 votes
2 answers
+5 votes
2 answers
515 views asked Feb 10 in Policy and Style by Catherine Milton G2G6 (9.0k points)
+7 votes
1 answer
122 views asked May 26, 2021 in WikiTree Tech by Liam Upton G2G1 (1.0k points)
+5 votes
2 answers
215 views asked Sep 25, 2019 in WikiTree Help by Chris Orme G2G6 Mach 2 (20.1k points)
+5 votes
3 answers
573 views asked Jan 8, 2019 in WikiTree Tech by John Gilroy G2G2 (2.0k points)
+12 votes
4 answers
+7 votes
0 answers
88 views asked Mar 31, 2017 in The Tree House by Campbell Braddock G2G6 Mach 6 (66.4k points)
+3 votes
1 answer

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...