Nested Collapsibles: Top


This is a component page used internally by the SCP Wiki. It is intended to be used and included on other pages.

What this is

This page contains the source code for the top half of the Nested Collapsible component, created by Boyu12Boyu12 for the Japanese branch.


How to create a nested collapsible:

[[include :scp-wiki:component:coltop
| show=+ show block
| hide=- hide block
Text to show inside the collapsible
[[include :scp-wiki:component:colend]]

Don't remove any of the pipe symbols! (|)

Default: "+ show block"
The text of the button that opens the collapsible.
Default: "- hide block"
The text of the button that closes the collapsible.
Default: 0
If 0, the "hide" text will be shown when the collapsible is open. If 1, it will not be.
Default: 1
If 0, the collapsible will start opened. If 1, it will start closed.

You can nest as many Nested Collapsibles inside each other as you like. You can even put Nested Collapsibles inside regular collapsibles, and vice versa. However, you cannot nest regular collapsibles inside other regular collapsibles.

  • [[li class="folded "]][[ul]]_
[[div class="colmod-content"]]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License