Closable boxes
79,301pages on
this wiki
this wiki
Forum page
This Forum has been archived
Visit the new ForumsForums: Index → Support Requests → Closable boxes
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 285 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)
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
- The system in the wiki has just been updated, so waiting was worth it :)
- Penguin-Pal (talk) 15:28, July 24, 2012 (UTC)