Fandom

Community Central

Closable boxes

Forum page

19,033pages on
this wiki
Add New Page
Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Closable boxes
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1592 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.



Hi I have a wiki and I would like to add closable boxes does anyone know the css code. If you do please enter it onto this forum.

Thank you

Cap123 (Talk) Wikia Robot 15:36, July 23, 2012 (UTC)

If your wiki already updated to MediaWiki 1.19 you can just use the mw-collapsible class, without any additional code, like that:
{| class="mw-collapsible mw-collapsed wikitable"
! The header || remains visible
|-
| This  content || is hidden
|-
| at first || load time
|}
The header remains visible
This content is hidden
at first load time
Otherwise you can import the show/hide code from dev wiki an use it as described on that page. Sovq 18:37, July 23, 2012 (UTC)
if your wiki is not on 1.19 yet, I highly recommend not doing anything until it has been upgraded. It would just mean less work.    ǝsʞpɐןǝ  (message wall)  18:40, 23/07/2012
Yea min is on version: 1.16.5 should I contact staff? —This unsigned comment is by Cap123 (wallcontribs) . Please sign your posts with ~~~~!
Staff doesn't know when every wiki is going to be updated. Just wait and it'll be updated eventually. - Tjcool007 (Talk) 09:33, July 24, 2012 (UTC)
The system in the wiki has just been updated, so waiting was worth it :)
Penguin-Pal (talk) 15:28, July 24, 2012 (UTC)

Also on Fandom

Random Wiki