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.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 2156 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)