[Wikia-l] [show] button
Charitwo
charitwo at gmail.com
Thu Apr 2 20:08:54 UTC 2009
You need to use some JS to allow that to display.
I come to notice a lot of people ask about this and aren't always aware of
the JS needed so i put it in a subpage on central for easy reference.
This can go in your wikis MediaWiki:Common.js folder
http://www.wikia.com/wiki/User:Charitwo/Collabsibletables.js
After that, the show/hide functionality will work. I used the above JS with
this template:
http://www.wikia.com/wiki/User:Charitwo/Template:Navbox
but it should work with what you have.
--Charitwo
2009/4/2 Master Conjurer <masterconjurer at gmail.com>
> On many wikis I have seen, the "collapsible collapsed" class of tables
> begins collapsed, with a button (appearing as* [show]*) on the right that
> causes the rest of the template to display. However, I cannot seem to
> figure out how to get this to work on a couple of wikis. I use exactly the
> same markup, but no show button. Anyone know what has to be done to make
> them do that?
>
> //masterConjurer
>
> _______________________________________________
> Wikia Community Mailing List.
>
> For information and subscriptions see
> http://lists.wikia.com/mailman/listinfo/wikia-l
>
> Need staff help? Try http://www.wikia.com/wiki/Special:Contact
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikia.com/pipermail/wikia-l/attachments/20090402/a6d4ee63/attachment.html
More information about the Wikia-l
mailing list