Mediawiki oggetti espandibili

Da Andreabont's Wiki.

Tabella

{| 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

DIV

Sezione che può essere nascosta a richiesta

<div class="toccolours mw-collapsible" style="width:400px">
This text is collapsible.
</div>

This text is collapsible.

Sezione nascosta che può essere mostrata a comando

<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
This text is not collapsible; but the next is collapsible and hidden by default:
<div class="mw-collapsible-content">This text is collapsible.</div>
</div>

This text is not collapsible; but the next is collapsible and hidden by default:

This text is collapsible.

Link

http://www.mediawiki.org/wiki/Manual:Collapsible_elements